Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Auto-close on merge chooses CLOSED status not DONE

Carl-Erik Kopseng
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 17, 2026
  • We have both the status Closed and Done in our JIRA workflow. Closed is used for discarded tasks or stuff that is duplicated, etc.

Previously we just had Done and the option to close an issue when a merge is performed would automatically set the right status. Now that there are two statuses that both signify "Done", Bitbucket chooses the first one (by alphabetic sorting?), which unfortunately is Closed, not Done.

I see no way of changing this default, but maybe there is?

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2026

Hi @Carl-Erik Kopseng 

Unfortunately, there's no option to toggle which transition is chosen by default.

For full transparency, a feature request to include this will not be looked into by our developers - as we are sunsetting issues shortly:

I'd suggest switching over to JIRA for issue management, or:

Cheers!

- Ben (Bitbucket Cloud Support)

 

Carl-Erik Kopseng
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 26, 2026

We are using Jira and this was about the option to close a Jira ticket. 

I was unaware there even existed an issue tracking system in Bitbucket.

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2026

Hi @Carl-Erik Kopseng ahh my apologies, I misunderstood.

 

When a Bitbucket Cloud PR is merged, Bitbucket just sends an event to Jira rather than deciding which status it's transitioned to (that is handled on the JIRA side). 

In your case, because the workflow has both Closed and Done as terminal statuses, the current rule/transition that runs on PR merge is targeting Closed.

There’s still no Bitbucket setting to change that default, but you can fix it in Jira by:

  • Editing the Jira Automation rule (or workflow trigger) that runs “on PR merged”, and

  • Changing the transition so it explicitly moves the issue to the Done status rather than Closed.

Once that’s updated, merging a PR will move linked issues to Done again, even though Closed remains available for duplicates / discarded work:

If this still doesn't resolve your issue, please raise a ticket directly with our support team using your paid workspaceURL (bitbucket.org/{workspaceID} ) - as we'll need access to your workspace/JIRA instance to troubleshoot further (this requires a ticket):

If you have issues raising a ticket, please let me know your timezone so I may raise one on your behalf with the team who operates within your working hours.

Cheers!

- Ben (Bitbucket Cloud Support)

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events