The first step is to create a new consumer in Bitbucket Cloud for Jira, which will generate the consumer key and secret:
- Log in to your Bitbucket account.
- Navigate to Bitbucket settings > OAuth.
- Click on the Add consumer button under OAuth consumers.
- Enter a name for the new OAuth consumer. The name you enter here will be displayed when Jira requests access authorization, so you should use a name that is easily understandable, such as Atlassian Jira.
- Click on Save. This will generate the consumer details we need for the next step:
Once we have created the new consumer, the next step is to enter the consumer key and secret ...