Forums

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

Start and end date automation via Status of the issue

Gentrit Cerimi November 16, 2022

Hello, 

we wanted to implement an automation that changes the end date of the issue to todays date, when it has exceed the original estimate. How will the JQL Query look like for this case ?

 

Furthermore we want to have the automation that when ever an issue gets transitioned to "in Progress", then the start date should be {{now}} and the end date should be {{now}} + original estimate, how this phrase should look like in the automation config? 

Thanks in advance. 

 

3 answers

1 vote
Gokaraju gopi
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.
November 16, 2022

Hi @Gentrit Cerimi 

 

Hope following should help you for automation config

Variable name: TimeTrakingInDays

Smart value: {{#=}}{{issue.timetracking.originalEstimateSeconds}} / (60 * 60 * 8){{/}}

automation1.JPGautomation2.JPG

Start date: {{now}}

End date: {{now.plusBusinessDays(TimeTrakingInDays.asNumber)}}

0 votes
Tharaka_Hettiarachchi
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.
November 17, 2022

Hi @Gentrit Cerimi ,

 

First Scenario

 

For the first scenario, you can create a automation script as follows

 

1. Create 'Advanced Compare Condition'  to check the original estimate greater than total time spent

Screenshot 2022-11-16 at 17.00.51.png

 

2. Then add a 'New Action' -> Edit Issue

Update due date field to {{now}}

Screenshot 2022-11-16 at 17.01.50.png

Cheers!

0 votes
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.
November 16, 2022

Hi @Gentrit Cerimi 

You note that you want to implement an automation rule to solve this need.  What have you tried thus far to accomplish this? 

Please consider posting images of your current rule, details from the audit log, and describe what is not working.

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events