Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Adding Start and Due Date on all stories through automation

iatkinse March 13, 2025

I previously received help getting the Start date and that part is working but due date is still not showing up based on the jql i found. I understand that story points should not be use to equate a due date but this is how we are doing it internally. My understanding of the query is that it should multiply the story points by 5 based then based on start date resolve the due date.

Screenshot 2025-03-13 104728.jpg Screenshot 2025-03-13 104611.jpg

1 answer

1 accepted

2 votes
Answer accepted
Tim Perrault
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.
March 13, 2025

Hi @iatkinse 

 

What happens if you try the below smart value? The start date is always "now" in your rule so using the below code would essentially be comparing it to the start date.

{{now.plusBusinessDays(issue.Story Points.multiply(5))}}

iatkinse March 13, 2025

It llooks like that works, question do you know if I choose to add .5 does that also equate to a half day?

Tim Perrault
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.
March 13, 2025

I'm not entirely sure at the moment and can't test it. Basically, what we are doing above is + 5 days for each story point. I think we need to get that first as maybe a variable and then add to the variable. 

iatkinse March 13, 2025

If I wanted to just have add days for instance if I have a 5points to a story and I wanted it to be done in 7 days, I tried to change to this: {{now.plusBusinessDays(issue.Story Points.add(2))}}

 

but it does not like that

Tim Perrault
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.
March 13, 2025

I think something like below would work, but please test it first.

{{now.plusBusinessDays(issue.Story Points.plus(2))}}

iatkinse March 13, 2025

Thanks that works out better. Also thank you for all your help and responses.

Suggest an answer

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

Upcoming Jira Service Management Events