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

How to use track time time spent with the less than condition?

Rafael Castillo December 7, 2022

I am trying to create an automation using advance compare conditions.

I am in an If statement and currently my first value is:

{{issue.timetracking.timeSpentSeconds}}

Condition is: less than

Second value: 1801

 

So essentially want is if the developer logs a time track of 30 minutes or less then something should happen, that something is changing another issue filed called "actual user story" which should be changed to 1.

The if tree checks for multiple of these conditions to assigned different story points based on a time estimate.

 

For some reason this is not working for me, when I add time to my track time nothing happens. Help please.

 

 

2 answers

0 votes
Ignacio Pulgar
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 3, 2023

Hi @Rafael Castillo ,

If Story Points were meant to predict the time it may take to complete a given issue, maybe it would be better to use the Time Estimate field instead (included in the Time Tracking set of fields). That way you can go one step further and easily see which issues took more time to complete than originally estimated with this simple query:

workratio > 100

Anyways, assuming you had conveyed that 1 Story Point = 30 minutes and that the Actual User Story Points field were of number type, then you could set a rule like this one:

(Please, substitute the Story Points field with your Actual User Story Points field in this rule)

time-tracking-to-story-points.PNG

Hope it helps.

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 7, 2022

Hi @Rafael Castillo , if you share a screenshot of your actual automation rule I will see if I can assist. Also could you tell me what the audit log is indicating when the rule is triggered? I'm trying to understand where the rule is exiting.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events