Transition Jira work items during a pull request merge
When you connect your Jira site with a Bitbucket workspace, you can associate Jira work items with a pull request. This feature allows you to change a Jira work item’s status while you are merging a pull request.
Prerequisites
The Jira instance where you have your work items has to be associated to your Bitbucket workspace.
There has to be a pull request with at least an associated work item key in Bitbucket.
You have to merge a pull request to see the work item transition screen. Note: When you are transitioning a work item during a merge, you will only see the transitions associated with the workflow and not the associated statuses in the dropdown menu.
Steps
In Bitbucket, select a pull request with an associated work item key. In the pull request view, you can see the list of work items associated with that pull request in the Jira work items panel located on the right side of the screen.
When you’re ready to merge the pull request, select Merge. In the merge screen, you can see the list of work itemss you can transition.
Select the work items you want to transition and change their status. Note: You can only transition to statuses that don’t require filling out fields regardless of the field being mandatory or not.
Select Merge to merge your pull request. Note: The work item's status will be changed in Jira as well.
Was this helpful?