Making calls via the proxy
Using the proxy URL shared by the Jira administrator, construct the request URL like this:
CODE{REST_PROXY_URL}?path={JIRA_REST_API_PATH}
Provide an authorization header, like in the code box below. (Please refer to Basic auth for REST APIs to learn more):
CODEAuthorization: Basic <credentials>
Provide a request body if necessary.
The resulting request should look like the example below:
CODEcurl 'https://xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.hello.atlassian-dev.net/x1/sOV8tMqkZABOLb3t8pmcZfcX48k?path=/rest/api/2/issue/ABC-123' --header 'Authorization: Basic <credentials>'
Note: Forge apps using requestJira
are incompatible with the proxy, as the proxy URL must be prepended to the request.