Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I generate a field or report that tells me how long the incident lasted in a certain group?

Hi Everyone!

How can I generate a field or report that tells me how long the incident lasted in a certain group?

Examples:

Group 1: 1h 30m
Group 2: 30m

 

Thanks regards 

1 answer

0 votes
laralg
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.
June 27, 2018

Hi!

By default Jira does not care about time or people so in a default Jira installation you are not going to have any way to meassure this.

So the best options for your will be playing with transitions, customfields and SLA.

Make a different status for every group so everytime the change you have a different status and you can see how long was in that status.

Maybe you can meassure the times with this:

https://marketplace.atlassian.com/apps/27136/jira-misc-custom-fields?hosting=server&tab=overview

Another option is backward SLA. Have a SLA that breaches in a minute, so you have a "counter" of how long the issue was in that status.

 

Automation for Jira can be another option, it lets you update fields after certaing events so maybe you can use that to track when a group in changed in a issue.

If you want to keep it simple I would use something like this to have a counter on issues, but as always Jira takes into account more status that assignations.

https://marketplace.atlassian.com/apps/5139/enhancer-plugin-for-jira?hosting=server&tab=overview

 

REgards

Hi @laralg

 

Thanks  for you answer.

What I request will be possible with script runner?

 

Regards

laralg
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.
June 27, 2018

Probably, it is a scripting tool. You might be able to do anything with it, the problem is how do you want to do it.

There are scripting fields that you can use to put scripts to meassure time, or maybe a listener will be better but it will depend on how many groups you have or how are you are going to meassure how long it stays in each group.

 

Regards.

Nic Brough -Adaptavist-
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.
June 27, 2018

@laralgis spot on - you can do pretty much anything with scriptrunner, but you need to start with a clear definition of what you're measuring and how you want to get it out, or report on it.

A scripted field, or several, is probably the easiest answer.  I would guess that you want one field per group, as you could then directly report on it with JQL - if it's a numeric field, "group-A-ownership > 90" could tell you anything that was with that group for more than 90 minutes.  Or you list issues with that field in the output.  You'll be able to sort them in the issue navigator.

I don't think the code would be too hard, but you will need to think about how you measure "with a group".  Is it when it is in a certain status?   Or you have a "group picker" field (so you measure the times when the issue was not resolved and the field was set to a group)?  Or something else?

Hi 

what we are looking for is to have a time counter from which a group is assigned to the ticket.

Example

Initially assigned to group A and then assigned to group B (here you must have the information of how long it lasted in group A and if it is reassigned the same as the time is incremental)

 

the ideal is that within the ticket there is a field that shows the time that has been in each assigned group the ticket

 

Thanks regards 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events