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

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events