Forums

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

Update ONLY the field updated to child issues #automation

Bastien Delourmel
Contributor
January 11, 2023

Good afternoon, 

 

We are currently facing an issue with automation. Let say we have an issue type named "Project" and an issue type named "Epic".

  • The 'Project' is a parent of 'Epic' (with issueLink Parent of).
  • We have 3 fields: Priority, Component/s, Fixversion/s

 

We create a Project with the 3 fields filled out. Then, we create the child of the project (= Epic): The Epic takes all the information from the Project (Priority, Component/s, Fixversion/s).

When the Project update a field, the Epic should also be updated. HOWEVER, sometimes the child will have different information from the parent. 

Meaning, the Epic can have a different FixVersion/s from the parent. So, if the Priority is updated on the Project, the Epic should only have its field 'Priority' updated not: Component/s and Fixversion/s.

 

What we currently have with Automation Rules: 

  • When value change for Priority, Component/s, Fixversion/s
    • If it matches Project
      • For Linked issues (parent of)
        • Edit issue fields
          • Priority, Component/s, Fixversion/s

With this process, if ONE field is updated for Project ALL the field are updated for Epic.

 

What I thought could be possibly done: 

  • One automation for each Field 
    • (!) we have X fields to copy
    • (!) we have 3 levels of (parent of/child)
    • => hard to maintain
  • Have a condition that knows "Priority has been updated less than 1mn -> so you can update the Priority"
    • Could it be possible with JSON??

 

 

Thanks for your returns and ideas.

 

Regards,

 

1 answer

0 votes
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 11, 2023

Hi @Bastien Delourmel 

 

I would go with 1 automation per field with a good naming convention to make it easier. Try to manage the 3 level within the same  automation with If Then Else condition.

Having multiple automation do not really make it harder to maintain as each automation will be simpler.

 

Regards

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events