Forums

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

Setting Milestone Due Date according to trigger issue start date

Petar Cvetanovic
Contributor
March 28, 2023 edited

I want to create an automation that automatically creates milestones of the project and due dates of milestones.  For example, my project (issue type domain initiative) starts at the 8th of march. The domain initiative field start date is set to be 8th of march. Once this is set I want according to this date to set 10 milestones.

1. 10 business days from the start date
2. 20 business days
3. 25 business days
4. etc...

I really do not know how to use smart values for this...


P.S 

I already created an automation that when a domain initiative is created automation creates 10 milestones :)

Screenshot 2023-03-28 at 12.04.56.png

1 answer

0 votes
Walter Buggenhout
Community Champion
March 28, 2023

Hi @Petar Cvetanovic and welcome to the Community,

You can add business days to your start date like this:

{{issue.Start date.plusBusinessDays(10)}}

issue.Start date is a reference to your Start date custom field. Just apply the same logic for your other milestones, replacing '10' with the appropriate number of business days.

Hope this helps!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events