Automation for Jira - setting a due date on a User Story based on subtasks

Jack Arndt
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.
January 11, 2020

Hello!

Can someone help me figure this out? Struggling on the first half.

Use Case:

I have a User Story with 3 subtasks.   When the final sub task transitions to “in progress.” I would like to update a custom date field in the User Story.

Ideally with a value (current date + x).  This is so I can attach an SLA to my User Story.

 Thank you in advance! 

1 answer

1 accepted

4 votes
Answer accepted
Ashkan Malekly
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.
January 12, 2020

@Jack Arndt Hiiii

I think It is better to work on automation and workflow at the same time. I mean on the workflow of the parent (story) you can have a condition that all sub-tasks must be in progress (on open to in-progress transition). And on the automation for sub-issue (sub-task) have a post function that transit subtask's parent to in-progress (on open to in-progress transition) and edit subtask's parent for example due date: {{now.plusDays(X)}}.

See the picture, please9008.png

 

The picture for automation

Jack Arndt
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.
January 12, 2020

Wow! Thank you this was extremely helpful! :D

Like Ashkan Malekly likes this

Suggest an answer

Log in or Sign up to answer