Touch parent when a subtask gets touched

Is there a more eloquent way to achieve this (see title above) as a Cloud customer? Since the parent's 'Updated' field does not get touched when a subtask is touched, I've klujed this which allows me to listen to parents for changes made based on state changes down below on subtasks, and use this trigger to perform other post processing I'm doing with the data outside of JIRA through other integrations I've built.

  1. Create custom field of type, Date/Time Picker, and call it "Check".
  2. Add the new "Check" field to all parent issues and subtasks.
  3. Modify all transitions in all workflows to include (in this order):
    1. inserting a post function that sets the current date/time (%%CURRENT_DATETIME%%) on the "Check" field on the current subtask.
    2. inserting a post function that copies the value of "Check" field to the parent's "Check" field.

1 answer

0 votes

Hi Paul,

I believe that's pretty much the only way to achieve that. As a possible alternative, you might want to use the post function that transitions the parent issue, that would change the 'Updated' field in the parent issue. Please see Moving a Sub-Task to In Progress does not Transition its Parent's to the Same Status for more details about this.

Hope this helps.

Cheers,

Clarissa.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,385 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you