Try to run the JQL "workratio > 1". This should return any ticket where the timeSpent is greater than the original estimate.
Thanks,
Kian
Thanks for your proposal, but it doesn't work.
It always apply the label.
When time logged is greater than original estimate (it's OK)
When time logged is equal to original estimated (it's KO)
When time logged is smaller than original estimated (it's KO)
This is the rule configuration:
Thanks,
Jose
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jose Antonio Quesada,
Thanks for highlighting that! It looks like in Jira Cloud, the workRatio field is actually on a scale of 0-100 rather than 0-1. Try doing workratio > 100 instead of workratio > 1!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works if deviation value is greater than 1 hour. With a deviation of 5 minutes it doesn't work.
But it's ok for me.
Thanks!!
Jose
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's an example rule:
And here's the output:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's a good solution as well! One benefit of this is that you could take other actions as well. For example alerting the assignee that the issue has now exceeded allotted time!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much! I've tested it but I can't get it to work.
Jira says the issues does not match the conditions, but the issue is deviated:
The support documentation (https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/) shows all the available fields, and I can't find the field {{issue.timeoriginalestimate}}
Maybe here is the problem?
Thanks in advance.
BR
Jose
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That list of smart values is not exhaustive. Check out the description in https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/ to find more.
The fields used for the smart values `{{issue.timespent}}` and `{{issue.timetracking.timeSpentSeconds}}` may have different access permissions, but they should both hold the same numeric value (in seconds) as `{{#issue.worklog.worklogs.timeSpentSeconds.sum}}` would yield (which may have other access permissions). If you don’t have sub-tasks or don’t track time therein, `{{issue.aggregatetimespent}}` will also be the same.
The long form would be `{{issue.fields.timespent}}`, by the way, but `fields.` can always be omitted and `issue.` is implied and thus optional much of the time, so `{{timespent}}` will work as well. Smart values also support reference by (non-translated) label, so `{{Time Spent}}`, `{{Remaining Estimate}}` and `{{Original Estimate}}` should work as well, but `{{remainingestimate}}` and `{{originalestimate}}` will fail, because they are actually called `{{timeestimate}}` and `{{timeoriginalestimate}}`, respectively (also available with `aggregate` in front).
The `issue.fields.timetracking` field holds the time already spent, the original and the remaining estimate and each value as a number in seconds and as a formatted string with units; it doesn’t keep information about sub-tasks:
"timetracking": {
"originalEstimate": "30m",
"remainingEstimate": "0m",
"timeSpent": "1h 30m",
"originalEstimateSeconds": 1800,
"remainingEstimateSeconds": 0,
"timeSpentSeconds": 5400
},
Likewise, each work log entry also holds the time registered in two fields, textual `timeSpent` and numeric `timeSpentSeconds`. Always make sure you use the latter for calculations. Depending on context, `{{timespent}}` could refer to either of `{{issue.timespent}}`, `{{timetracking.timespent}}` or even `{{worklogs.timespent}}`.
You might find the same duration values in another field, `{{progress}}` (and `{{aggregrateprogress}}`):
"progress": {
"progress": 5400, // = timespent
"total": 5400, // = max(timespent, timeoriginalestimate) or timespent + timeestimate?
"percent": 100 // = round(progress / total * 100)
},
There is a pre-calculated field `{{workratio}}` = `{{timespent.divide(timeoriginalestimate).multiply(100)}}`, but no `{{aggregateworkratio}}` that would consider sub-tasks. Unlike `{{progress.percent}}`, it goes beyond 100.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jose Antonio Quesada are you referring to deleted issues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, to all the issues.
For example, I've an issue with 2 days (16 hours) of Original Estimation, but it has 20 hours logged.
This sample is a deviated issue, and I want to mark it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.