GetOAuthAccessToken
Gets an authentication token from Jira.
Input
| Name | Type | Description |
| AuthMode | String | Enter either APP or WEB. The type of authentication mode to use. Set to APP to get authentication tokens via a desktop app. Set to WEB to get authentication tokens via a Web app.
The allowed values are APP, WEB. The default value is APP. |
| Verifier | String | The verifier token returned by Jira after using the URL obtained with GetOAuthAuthorizationURL. Required for only the Web AuthMode. |
| Scope | String | A comma-separated list of permissions to request from the user. Please check the Jira Assets API for a list of available permissions. |
| CallbackUrl | String | The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL in the Jira app settings. |
Result Set Columns
| Name | Type | Description |
| OAuthAccessToken | String | The access token used for communication with Jira. |
| OAuthRefreshToken | String | A token that may be used to obtain a new access token. |
| CloudId | String | The Cloud Id for the Atlassian site that was authorized. |
| ExpiresIn | String | The remaining lifetime on the access token. A -1 denotes that it will not expire. |