If you wish to connect to the Jira Cloud instance remotely, say from an external application, you can achieve this by using basic authentication and Jira REST API's.
Basic auth uses API Tokens to authenticate the user without using an actual password. This is more secure as you do not use the actual password and can revoke the token anytime.
Steps to generate Atlassian account API Token
REST clients can authenticate themselves using basic authentication with an Atlassian account email address and API token. You can only create a maximum of 25 tokens and revoke when required.
- From your Jira cloud instance, click "Your profile and settings" from the top-right screen option.
- Click Profile from the options.
- Click Manage your account.
- Click Security.
- Under API token section, click 'Create and manage API tokens'.
- Click 'Create API token' to create a new token to popup screen.
- Provide a short and memorable label and click Create.
- The API token is presented on the next screen so you can copy and preserve it. Make sure you copy your new API token. You won’t be able to see this token again.
- Click Close.
- Note the token for further authentication.
You can now supply the Atlassian email address and API token with authentication headers and connect to Jira using REST APIs, say to create an issue.
Have Questions? Post them here!
- Android Constant and Resource Type Mismatches Lint - Android
- Display Seconds in Digital Clock on Mac Menu Bar [macOS] - MacOS
- Bootstrap Nav Menu Dropdown on hover - Bootstrap
- Struts 2 : There is no Action mapped for namespace [/] and action name [form] associated with context path [/proj] - Java