Forums

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

Is it possible to auto update master on release?

Chauncey V. Loving
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 7, 2023

Hello, I was just curious if it's currently possible to set an automation up that would automatically bring our master branch up to date after a version is released in jira.

 

Say we're using version 1234, and we mark it released. 

Maybe we then use regex like (version\/{{version.name}}) to find our version branch in source tree. 

I'd then like to auto create a pull request to merge the version branch into master, and have it approved automatically. 

 

Does something like this exist as an automation option in jira? 

1 answer

0 votes
Jehan Bhathena
Community Champion
August 5, 2023

Hi @Chauncey V. Loving ,

Dont think that there is a solution for this out of the box, you can try the below steps:

  1. Trigger: Version released
  2. Action: Create a Smart Value with the version name, and append the content you wish too
  3. Action: Webrequest : Use the Gitlab/Github API call to create merge request
  4. Action: Use the above Webrequest's content in this step, and mark the above merge request as Merged
    1. PS: You may want to be aware of  merge conflicts that may occur as well

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events