Forums

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

How to create due date automation

Drew Schneider
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 31, 2024

For tickets that need to be completed every week, month, etc., I want the assigned person to be able to leave a comment on the ticket that the task has been completed and move the ticket to done.

Then I'd like to set up an automation that

1) automatically updates the ticket's due date (e.g. a week from now for a weekly task) and 2) moves the ticket back to in progress once it's been marked as done.

I figured out how to do 2 above, but I can't figure out how to do 1 above.  I would like to be able to add a then statement that automatically updates the due date to the current due date plus the story point estimate (e.g., if due date is 1/21, and story point estimate is 7, then it updates due date to 1/28).  Is there a way to do this? 

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
January 31, 2024

Hello @Drew Schneider 

Welcome to the Atlassian community.

Yes, this is possible.

Use an Edit action and edit the Due date field, setting its value using a smart value:

{{issue.duedate.plusDays(issue.Story Points)}}

The functions for manipulating dates and times can be found here:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/

Drew Schneider
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 31, 2024

Thank you!  That worked - I had to change it to {{issue.duedate.plusDays(issue.Story point estimate)}}

Trudy Claspill
Community Champion
February 1, 2024

Where I used "Story Points" you would need to use the actual name of the field. I did not catch that you said "story points estimate".

If my Answer helped resolve your requirement, please consider clicking the Accept Answer button.

Suggest an answer

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

Atlassian Community Events