Forums

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

Copying fields content from one child issue to another

Tiago Pereira
Contributor
June 26, 2023

Hello 

Is it possible to copy fields w/ a postfunction from one child issue (Sub-tasks) to another one (Subtask-Task)?

The parent issue is an Epic, would like to use an post function during a transition

2 answers

1 accepted

2 votes
Answer accepted
Thibaut Subra _Elements_
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.
June 26, 2023

Hello @Tiago Pereira 

If you can give us more informations about what you are trying to achieve exactly, someone can help you with your Automation.

In the meantime, we developed an application called Copy & Sync that allows you to copy and sync any type of issues with post-functions, and you can choose exactly what you want to copy (fields, attachments, comments, etc.).

You can also use JQL queries or add your recipes as a post-function directly in Automation.

You can have a look at our documentation for an overview of what our app can do.

Anyway, don't hesitate to tell us more about your need!

Regards

Tiago Pereira
Contributor
June 26, 2023

Hello Thibaut so in my project for each status one subtask will be created (by automation) -> check image

image.pngimage.pngimage.pngThe last subtask should copy the content value from 2 fields from the 1st subtask created.

I don't know if automation rule would be adequate here as it is already creating it, maybe automation rules could conflict?

I saw there is an postfunction option to copy filed value and I can use an JQL, but thing is not sure how will I narrow it down to: current subtask epic parent -> subtask type

Thibaut Subra _Elements_
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.
June 29, 2023

I understand, one way to do it is that the first subtask created should be the trigger for the creation of the second subtask so the first subtask can be the source issue and you will be able to retrieve fields/values from it.

Maybe on each transition of the task (except the first one that will need to create the first subtask), it will update the latest subtask created (a field for example) and this update will be the trigger for the creation of the next subtask.

It requires to create several automation rules or branches.

I don't know if this will work but it's worth looking into it.

2 votes
John Funk
Community Champion
June 26, 2023

Hi Tiago,

You would probably be better off using an automation rule. 

Tiago Pereira
Contributor
June 26, 2023

How do I jql query to find the  epic parent issue required subtask fields?

John Funk
Community Champion
July 3, 2023

Sorry, I am not sure what you are asking. Can you rephrase? 

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