Forums

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

Update Fix versions in tickets automatically when merging a PR

Martin Cigorraga
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!
August 15, 2025

Hi all,

I’m trying to automate a step in our workflow and could use some help.

 

The problem:
Whenever we merge a PR that fixes a Jira issue, the Fix Versions field has to be updated manually for each ticket. This step is often forgotten, and it leads to inconsistent data in Jira.

What I want to do:
Have Jira automatically populate Fix Versions when a linked PR is merged in GitHub, based on predefined rules — the best option I found so far is using a label assigned to the PR. This also helps us enforce some repository rules to ensure that if the fix versions label is not set, the PR can't be merged.

What I want to do:
Have Jira automatically populate Fix Versions when a linked PR is merged in GitHub, based on predefined rules — for example: release branch name, tag, label, or a configured mapping.

Why:

  • Removes the chance of human error

  • Keeps Jira data accurate and consistent

  • Saves time by eliminating repetitive manual work

 

I’ll share my current automation attempt below. Any guidance, examples, or pointers would be much appreciated.

Thanks in advance!

 

Screenshot from 2025-08-15 10-14-17.pngScreenshot from 2025-08-15 10-16-12.pngScreenshot from 2025-08-15 10-16-31.pngScreenshot from 2025-08-15 10-16-46.png

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events