...
- Check your current additional headers
Status subtle true colour Green title GET URI: /rest/synchronizer/1.0/headers/get/{connectionName}
Headers: you need to include JIRA authorization header and IssueSYNC's connection local key header
Responses:Status colour Green title Status: 200 Code Block language text {status:"OK", headers:{ X-Header-Jira:"token-A", X-Header-Authorize:"token-B", My-Server-Secret-Token:"token-C" } }
Status colour Yellow title Status: 401 Code Block language text {"Description for given status does not exist"}
Set headers
/rest/synchronizer/1.0/headers/createStatus subtle true colour Yellow title PUT URI: /rest/synchronizer/1.0/headers/create
Headers: you need to include JIRA authorization header and IssueSYNC's connection local key header
Request body example:Code Block language text {connectionName:"{connectionName}", customHeaders:{ X-Header-Jira:"token1", X-Header-Authorize:"token2", My-Server-Secret-Token:"token3" } }
Responses:
Status colour Green title Status: 201 Code Block language text {"Headers created or replaced properly."}
*Please bare bear in mind putting new headers will remove old ones.
Delete headers
/rest/synchronizer/1.0/headers/delete/{connectionName}Status subtle true colour Red title DELETE
URI: rest/synchronizer/1.0/headers/delete/{connectionName}
Headers: you need to include JIRA authorization header and IssueSYNC's connection local key header
Responses:Status colour Green title Status: 200 Code Block language text {"Operation processed properly."}