Copy custom field value from one issue type to another issue using jira automation

Neeta Dubey May 21, 2024

I have a common custom field [completed story points] in two issue type objective and feature and I want to write automation rule to copy 'completed story point" from Feature to completed story point in objective when "completed story point" value changes.

 

2 answers

0 votes
Bill Sheboy
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.
May 21, 2024

Hi @Neeta Dubey 

How are the issues for the Objective and Feature related: parent / child, issue links, etc.?

Is there only one Feature for each Objective?

 

The relationship will determine how to access the Objective, using a branch when the field changes in the Feature, and then the field can be copied from the trigger issue: the Feature.

 

What do you want to happen if a someone manually changes the field in the Objective after it as been automatically set from a Feature?

 

Kind regards,
Bill

Neeta Dubey May 21, 2024

Thanks for your response Bill.

Objective is parent and feature is child.

users will not edit completed story point.

 

Bill Sheboy
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.
May 21, 2024

Thanks for confirming that information, and so the rule will need to branch to the parent to make the update:

  • trigger: value changes for your field
  • condition: issue type is Feature
  • branch: to parent
    • action: edit issue. copying the field from the trigger issue
0 votes
Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 21, 2024

Hi @Neeta Dubey ,

To do this, create an automation rule and

trigger on Field value changed > completed story point

add a condition: issue field condition: issue type is one of feature

add an action: edit issue > completed story point > copy (copy completed story point from current issue)

The condition is there to prevent that you only copy the data from feature to objective and not the other way around

 

Neeta Dubey May 21, 2024

Hi Ruby,

Where should I specify Objective issue type so that "completed story point" of objective value gets correct data from feature?

Screenshot 2024-05-21 181459.png

Suggest an answer

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

Atlassian Community Events