Forums

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

Set or append the Fix version

Henrik Lärkfors Bejte
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!
April 10, 2025

Hi Everyone!

 

So, I'm trying to use the automation to either set the "Next unreleased version" if there is none set or add the next unreleased version if there is an older version added already.

 

The trigger used is when the issue is set to status Test or Done.

 

1 answer

0 votes
sanam malleswari
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 10, 2025

Hi @Henrik Lärkfors Bejte

Please use below Jira automation in the project settings you can access it.

1. Create a New Rule:

  • Click Create Rule to start a new automation rule.

2. Set the Trigger:

  • Choose Issue transitioned as the trigger.

  • Set the transition to Test and Done (or whichever statuses you want to trigger the rule).

  • Click Save.

3. Add a Condition to Check "Fix Version":

  • Click Add Condition.

  • Choose Issue fields condition.

  • Select Fix Version in the field dropdown.

  • Set the condition to is empty (to check if no version is set).

4. Set the Fix Version (if empty):

  • Click Add Action.

  • Select Edit issue.

  • Under Fix Version/s, choose Set version.

  • Select the Next unreleased version (you can choose this from the dropdown or enter the version name).

  • Click Save.

5. Add an Action to Append a Version (if a version is already set):

  • Click Add Else if (to add another condition).

  • Again, choose Issue fields condition.

  • Select Fix Version and set the condition to is not empty (meaning a version is already set).

  • Click Save.

  • Then, click Add Action under this condition.

  • Select Edit issue.

  • Under Fix Version/s, choose Add version.

  • Select the Next unreleased version.

6. Save and Enable the Rule:

  • Once all actions are set up, click Publish to save the rule.

  • Make sure the automation is enabled to run when triggered.

Suggest an answer

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

Atlassian Community Events