Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Parent Child ticket

Nadia YOUCEF September 10, 2020

Hi,

my question is : how to make link between to existing tickets, so that one is parent and the other the child, and when we do an action on the parent ticket the child is updated automatically 

2 answers

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 10, 2020

to be clear here, Links do not work that way. That is, Links do not establish a parent-child relations ship. At least not in the way a Task > Sub-task does. With that said, as Flavien offered, you can use Automation to achieve your goal (maybe). Basically something like this...

Trigger = issue updated

Condition = use a JQL like issueLinkType is not Empty

Condition = something else to ensure you are don't execute the following actions when not desired

Action = update the linked issue as you need

Sara_B April 17, 2024

@Jack Brickey @Flavien Gache is there any filter which could find the parent tickets that have earlier due date than the child tickets? 

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 17, 2024

Unfortunately, JQL does not allow for date compares. What you could do is to use Automation to flag issues for your requirement. Basically you could trigger on the due date changing and check if the new due date violates the requirement of 'parent due >= any child due' and if so flag, e.g. label. Then you can use JQL to query for issues with the label (maybe a daily filter subscription). Alternatively, you could send an email as a rule action notifying of the violation. One thing to keep in mind is the scenario where someone is updating the dates on parent and sub-task so there could be a momentary violation that will be corrected by the user shortly. For this reason it might be better to schedule the rule to run at the end of each day and query for all issues that have been updated that day and then check all for potential violation.

hope this helps.

0 votes
Flavien Gache
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 10, 2020

Hello Nadia.

You need to use the automation module in Jira cloud. It allows you to create a rule that will trigger when an event occurs. 

For example you can change the status of your parent ticket to "In progress" if one of your subtask changes to "in progress". 

You also can make a rule to close a parent ticket if all the subtask are closed. 

Nadia YOUCEF September 11, 2020

thank you for your feedback

Suggest an answer

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

Atlassian Community Events