Forums

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

Can I mass-copy a parent field to its completed child issue field?

Nicole Miliano January 9, 2024

Hi Jira Community,

I am trying to create a dashboard to statistically display my team's assignments, however, the field that would describe the assignment differs by issue type so it doesn't recognize any assignments at smaller levels. Currently, the correct label is present in each task level, but I want to carry that over to the sub-task level. I've added an automation that will copy this field to the subtask level, but only for any NEW tasks created. 

Is there anyway to automatically change this for completed subtasks?

Thank you very much!

 

Best, Nicole

1 answer

0 votes
Rebekka Heilmann _viadee_
Community Champion
January 9, 2024

Hi @Nicole Miliano and welcome to the Community!

for any advice on Automation rules it's easiest, if you can screenshot what you have so far. That will probably help us understand what you're trying to achieve as well, as i'm left a little bit confused so far ;) 

Nicole Miliano January 9, 2024

Hi @Rebekka Heilmann _viadee_

thanks for your reply! Please see below the automation I made which has been successful for copying the parent field to the child issue field's "tactic." My situation is that I have a ton of issues that need the same child issue field "tactic" as their parent's field. 

copy tactic from parent issue.pngissue type equals.png

Rebekka Heilmann _viadee_
Community Champion
January 9, 2024

So, for different requirements you can do several things

A) You are satisfied with the rule and it works for all future issues (as you only want the field copied in the beginning) -> leave it as is

B) You want the field copied everytime the field changes:

Change the trigger to "Field value changed" -> Tactic
Leave the rest as is

C) For "old" issues that are not covered by the rule at the moment or in the future, you want the field copied once:

Change the trigger to "Scheduled" and set it up so it runs asap.
Check "Run a JQL search" in the Scheduled Trigger -> you need to have a JQL query that finds all parent issues, that you want values copied from. I guess it's something like "project = xy and issuetype = xy and statusCategory = Done" but maybe there is some other criteria

Suggest an answer

Log in or Sign up to answer