In a project a dev has x amount of hours they are allowed to work, so lets say 400hrs. I would like an alert that when the dev reaches 320hrs an email is sent to my email telling me the hours reached.
Hi @stuart lenox -- Welcome to the Atlassian Community!
Short answer: One may write a rule to do this going forward, but not looking at prior time tracking. If this type of reporting is needed frequently, consider using a marketplace app for time tracking reporting.
More information...
The built-in reporting for time tracking will not help with what you ask, as it does not include information about the specific users who logged time.
To find work logs for a range of time, the specific Jira issue keys must be known to call the REST API functions. JQL can find those issue keys for a user, but a rule cannot iterate over the issues to sum up the time across the logs (due to parallel processing of branches).
A workaround would be to add an entity property to users for the total time logged during your timeframe, and increment / decrement that whenever work was logged using one automation rule. Then a second, scheduled trigger rule could run to check for exceeding the threshold value of 400h.
That workaround is a bit complicated and brittle, and so using a marketplace app which can specifically report time tracking may help more.
Kind regards,
Bill
Appreciate the reply.
Thanks for taking the time for such a response.
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.