Forums

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

How to create a rule to automatically assign fix versions to subtasks, when we add it to issues?

Karthikeya G May 25, 2023

I want to create a rule in jira-automation to assign fix versions to sub-tasks if a fix version is added to an issue or epic.

2 comments

Comment

Log in or Sign up to comment
Geetanjali Sharma
Contributor
May 25, 2023

Hi @Karthikeya G 

you can try thisAutomation.JPG automation, if that works for you

Karthikeya G May 25, 2023
  • what will be the issue trigger? @Geetanjali Sharma .
  • How did you get "Add fix versions from parent issue" text in action?
Geetanjali Sharma
Contributor
May 25, 2023

@Karthikeya G you need follow these steps:

Step 1: When issue created.

Step 2: Add Related Issue Condition --> if parent exists.

Step 3: New action --> edit issue --> Choose fix version field -->Click on Copy -->Select issue to copy value from Parent issue.Automation.JPG

Like Barbara Shaw likes this
Joseph Chung Yin
Community Champion
May 25, 2023

@Karthikeya G -

Welcome to the community.  Using automation rule, take a look at the sample rule below -

2023-05-25_22-27-05.png

The triggering event will be Field value change (in this case the parent case's field is updated "Fix Version/s")

2023-05-25_22-27-17.png

Next - Create a branch rule/related issues loop (in this case it is for related issues "Subtasks")

2023-05-25_22-27-32.png

Lastly - use the edit issue action on the subtasks by copying Fix Version/s from parent issue -

2023-05-25_22-27-44.png

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Like # people like this
Joseph Chung Yin
Community Champion
May 25, 2023

@Karthikeya G -

If my suggestion helped you, please click on Accept answer when you have a chance, so others with similar asks will see this posting as an answered solution in the community group.

Best, Joseph

Like Vish Mande likes this
Karthikeya G May 25, 2023

Hi @Joseph Chung Yin ,

The above answer is helpful but in the last step I am not able to find the exact function to copy fix version from parent. How can I configure that function?

rules.png

Michel Neeser
Community Champion
May 26, 2023

@Karthikeya G You can click on the text "Add Fix versions from Current issue" (red arrow below). Then, you can set the options accordingly (blue arrows below):

Test__JSW_Team__-_Details_-_Jira.png

TAGS
AUG Leaders

Atlassian Community Events