Forums

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

Linking parent and subtask so certain custom fields updated on the parent will update the subtask.

Linda H July 12, 2018

We are moving to Jira 7.6.  I want to create subtasks with custom fields that are linked to the parent so that if I change data in the parent it changes data in the subtask.

Is there a post function that does this?  I have looked at a couple but cannot get them to work, so I'm guessing I am trying the wrong one or missing something. 

I'm using the post function on the create transition for the subtask when creating a specific subtask issue type, so I know that the post function has to come after "Creates the issue originally".  I thought Linked Transition (JSU) would be the logical choice, but it is not working.   Yes, the fields I want to link do have data in the parent task, but are not flowing to the subtask.  

1 answer

0 votes
Sana Safai
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.
July 13, 2018

Hi,

If you change things in the parent task, and use post-function, it will only update the subtask if you're doing a transition. However, when you're updating a ticket by simply editing it, no transition, and thus no post-function, will execute.

You have a few choices:

*Automation plugins (or Jira Service Desk) that listen for updated issues.

*Scripting plugins (such as scriptrunner) that use script listeners to listen for "issue updated" and then updating sub-tasks through scripts, or use script fields which can automatically update other fields in other issues

Linda H July 18, 2018

Hi Sana, 

Thank you!!  Once I read it, it all made sense. I think I was just thinking to much about it.  

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira product discovery, jpd premium, product management, idea management, product discovery, jira premium, product planning, atlassian community, product development, roadmap planning, product prioritization, feature management

Introducing Jira Product Discovery Premium ✨

Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.

Learn more
AUG Leaders

Atlassian Community Events