Forums

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

Automation update story dates based on sub-task dates

Daniel Jones June 5, 2024

Hello,  I am trying to use automation to update the start and end date for the parent story which I have been able to do, that is not the issue.

The challenge is getting the dates I want-what I would like to do is make the story start date, the same as the earliest start date of any of its sub-tasks and make the story end date the latest of any of the end dates for its sub-tasks.

How would I loop through each of the sub-tasks, find and compare the start and end dates of them all and only keep the earliest and latest dates to update the parent story?

I know how to do this with other scripting/languages, but not sure in this JIRA automation.

Note-we have JIRA Server, not cloud

Thank you for any help.

1 answer

1 accepted

0 votes
Answer accepted
Manoj Gangwar
Community Champion
June 5, 2024

Hi @Daniel Jones ,

Welcome to the Atlassian Community!!

You may refer to this thread.

https://community.atlassian.com/t5/Jira-questions/Updating-an-issue-s-due-date-based-on-sub-tasks-due-dates-and/qaq-p/2346691

 

Thanks,

Manoj

Daniel Jones June 5, 2024

Thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events