The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automatic workflow transition on Bitbucket merge

David Cook
August 16, 2021

Hi,

I want to know if it is possible to cause an automatic workflow transition in JIRA when creating or merging branches?

e.g.

We have 3 branches:

  • Production
  • Release
  • Development

Branching an JIRA issue from the development branch should transition the JIRA workflow status from OPEN to IN PROGRESS. Merging a JIRA issue branch into the Development branch should transition the JIRA workflow status from IN PROGRESS to RESOLVED.

Finally, merging a validated release candidate from the release branch into the production branch should transition the JIRA workflow status from RESOLVED to CLOSED.

We do not use code reviews or pull requests.  We're using the tools for embedded software development. The team is small and each engineer runs his own project.  There are no contribution to the code base from other engineers nor is there any collaboration between projects. Solo projects.

Thanks

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Matthias Gaiser _K15t_
Community Champion
August 16, 2021

Hi @David Cook,

we're using Bitbucket Pull Requests, therefore I haven't tried out these approaches, but I can think of the following.

I think, I'd try to go with Automation first. If that's not enough flexibility you could use a Pipelines script.

Hope that helps,
Matthias.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events