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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to Modify a parent issue with a value from a child issue

Hi,

I have the following problem:

 

A parent is having several linked children (not subtasks). The parent and the children have a field "Due Date". The parent shall always carry the latest Due Date of all of the children. If a child gets a later Due Date, then it's easy to check if that child's due date is later than the parent's due date and the parent's due date can be updated accordingly. 

But if a child's due date is set earlier than the parent's due date, then I need an automation that checks all children's due date and sets the parent's due date to the latest one. 

I don't see that this is possible with automation for Jira since I cannot change a value of the triggerissue with the value of the linked issue.

 

2 answers

1 accepted

0 votes
Answer accepted

Hi @Cornelia Richter 

To clarify what you are trying to do, would you please explain:

  • When you indicate parents and children, not sub-tasks, do you mean Epics and Stories or Bugs?  Or some other way of organizing the issue relationships?
  • Why do you need to perform this additional check for earlier Due Date values?  If you check any created or edited issue for a Due Date later than the linked issue's (parent), wouldn't the later date would always "win".

 

Best regards,

Bill

1. these are linked issues.

2. I need to check any existing linked child issue (without editing) which one is the onr with the latest due date in order to copy that information to the linked parent

Thanks for that information, @Cornelia Richter 

You are using links rather than the built-in parent/child relationships, so you can use JQL in a branch to find the related items.  You can then test if the "child" items have a later date and update the "parent".  With the server version, if you need any temporary storage during the rule execution, consider adding custom fields or properties to help.  (With cloud version, you could instead use Create Variable.)

For any linked children added before the rule was created, you could use a one-time rule with a scheduled trigger (or a manual trigger) to find and update the parent for those children as well.

One good way to get help on rules is to build the rule, note what is/is not working, and then post an image of the rule in your question.  That will help the community provide more targeted ideas for you.

Thanks,

Bill

thanks for answer, I have considered the mentioned solution already.

I will  post a snip of the automation next time

Hi @Cornelia Richter are you on Server/DC or Cloud?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

756 views 17 21
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you