Forums

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

Automation to change the due date from EPIC

Jan Schiemann January 16, 2024

Dear all,

I'm searching for a automation which changes the due date from my Epics.

I have currently following set up: The feature, Epics and tasks are marked with a Release (Fix version) this release has a fix release date. (For example 31.Jan 2024) Now i wanna have a automation where i can set the due date from the Epics 10 days before this release date.

I tried to figured out by myself but not successfully XD

This is what i tried:

Picture automation mask.PNG

I used this code for the due date: {{#issue.fields.fixVersions.first.releaseDate}}{{10d | subtract}}{{/issue.fields.fixVersions.first.releaseDate}}, but it only wrote me the relase date in it. 

Thank your very much and have a great day :)

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
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 17, 2024

Hi @Jan Schiemann -- Welcome to the Atlassian Community!

Please try using the minusDays() function on the specific version's date value:

{{issue.fixVersions.first.releaseDate.minusDays(10)}}

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

Kind regards,
Bill

Jan Schiemann January 17, 2024

Hi @Bill Sheboy  

It worked perfectly.

Thank you very much you rescued my day:)

Kind Regards,

Jan

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events