Signature
Helper | nodeHelper |
Signature | addHTTPHeader |
Description |
Set HTTP headers in script sync rules in script connections on requests that Exalate is performing to the issue tracker. |
Introduced in | 5.5.2 |
Example use
if (firstSync) {
nodeHelper.addHTTPHeader("HeaderName1: HeaderValueForCreateIssueOnly")
} else {
nodeHelper.addHTTPHeader("HeaderName2: HeaderValueForUpdateIssueOnly")
}
nodeHelper.addHTTPHeader("HeaderName3: HeaderValueForCreateOrUpdateIssue")