Forums

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

How can i automatically create a new task, 90 days before start deadline of a Story?

Martijn Herfst July 18, 2025

How can i automatically create a new task, 90 days before start deadline of a Story?

We want to have a trigger /  task 90 days before something need to be done.
So we can claim resources on time and not on the start of the story but in advance.

How can i do this? 

2 answers

1 accepted

2 votes
Answer accepted
Gor Greyan
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.
July 18, 2025

Hi @Martijn Herfst

Welcome to the Community!

You can use the compare condition for date comparison, as shown in the attached screenshot.
For the trigger, you can put a scheduled trigger, searching stories.
After the condition, you can add Creat new issue action.

Let me know if you have any questions.
Screenshot 2025-07-18 141947.png 

Martijn Herfst July 18, 2025

Hi Gor,
Thanks for the answer, but there is no comparison on the dates. You can't check this with one date? of i am missing something.


So the startdate is for example 25-10-2025, We want to have a task created on 27-7-2025. 90 days before the 25-10-2025.

Gor Greyan
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.
July 18, 2025

@Martijn Herfst

For your case, you can check this comparision.

For the First Value use -  {{now.jiraDate}}
Condition - equals
Second Value -  {{issue.StartDate.minusDays(90).jiraDate}}


If the Start Date is 25-10-2025, then on 27-07-2025 this condition will evaluate to true.

If you have a ticket that has Sa tart Date value, you can run automation using Log action for that ticket, putting {{issue.StartDate.minusDays(90).jiraDate}}.

Providing example.Screenshot 2025-07-18 164838.png

Like Maria Rusnakova likes this
Martijn Herfst July 18, 2025

Thanks, now i understand. 

Like Gor Greyan likes this
Gor Greyan
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.
July 18, 2025

@Martijn Herfst
Glad to help!

1 vote
Marc - Devoteam
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.
July 18, 2025

Hi @Martijn Herfst 

Welcome to the community.

The solution provided by @Gor Greyan is right.

The comparison made is fine, the second value {{now.plusDays(90).jiraDate}} is a smart value.

The smart value represents, current date of today + 90 days in the future and use format 2025-07-18

So this is not a second field, as this is not required.

P.S. Greetings and still at Signify?

Gor Greyan
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.
July 18, 2025

Hi @Marc - Devoteam

Thanks a lot for your feedback.

Suggest an answer

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

Atlassian Community Events