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, leading to inconsistent Jira data.
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 approach I’ve found so far is using a label assigned to the PR. This would also help enforce repository rules — if the fix versions label is not set, the PR can’t be merged.
Why
- 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!



