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:
RULE #1
When the Assignee field is changed, set the Assigned Date to now
{{now}}
RULE #2
This rule will run on a schedule to update all open issues
resolved IS NOT EMPTY
{{issue.Assigned Date}}.diff(now).days}}
Note - you can substitute days for businessDays if you want a more accurate reflection of how many days an issue has been assigned
Hey Mark!
Thanks a Million! This really helped me with what I need.
Have a great week!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
https://marketplace.atlassian.com/apps/1211756/
EmreT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.