You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Her everyone! 😌
I'm trying to create an automation in Jira that will track the number of days an issue has been assigned to an assignee in a custom field. I've been able to create the field, but I'm not sure how to calculate the number of days.
I'm thinking of using the following expression:
now() - issue.fields.created OR now() - issue.fields.assigned
Can anyone help me with this please?
I'm using JSM and this is the current automation that doesn't works as I need:
I would use two automation rules/custom fields for this:
When the Assignee field is changed, set the Assigned Date to now
This rule will run on a schedule to update all open issues
resolved IS NOT EMPTY
Note - you can substitute days for businessDays if you want a more accurate reflection of how many days an issue has been assigned
Hello @Edgardo Ibarra,
Building a custom automation will most likely be hard to build and maintain. So it will be expensive. I suggest you use a marketplace app for that.
Our team at OBSS built Time in Status exactly for this. It is available for Jira Server, Cloud, and Data Center.
Time in Status mainly allows you to see how much time each issue spent on each status or each assignee.
The app also has Status/Assignee Composite Reports that can show assignee times broken down to statuses or vice versa.
For all numeric report types, you can calculate averages and sums of those durations grouped by the issue fields you select. For example total in-progress time per customer or average resolution time per sprint, week, month, issuetype, request type, etc. The ability to group by parts of dates (year, month, week, day, hour) or sprints is particularly useful here since it allows you to compare different time periods or see the trend.
The app calculates its reports using already existing Jira issue histories so when you install the app, you don't need to add anything to your issue workflows and you can get reports on your past issues as well. It supports both Company-Managed and Team-Managed projects for Jira Cloud.
Time in Status reports can be accessed through its own reporting page, dashboard gadgets, and issue view screen tabs. All these options can provide both calculated data tables and charts.
If you consider using a marketplace app, you can try Status Time Reports app developed by our team. It mainly provides reports and gadgets based on how much time passed in each status.
Here is the online demo link, you can see it in action and try without installing the app. For your case, you can have a look at Time in Assignee report. For further details, please check Status Time Reports How to Videos.
If you are looking for a completely free solution, you can try the limited version Status Time Free.
Hope it helps.