"Created vs Resolved Chart" Gadget

Hi,

Question 1)

I am curious how "resolved" number gets calculated for "Created vs Resolved Chart" gadget in JIRA.

It seems that the number of Issue Created is correct, but not Resolved. In our project, we use customized status (e.g. "Fixed" and "Deployed") , so I was wondering I need to tweak post function or do something else…

Question 2)

Is there any way that I can add the third value in the chart? There are "Issues Created" and "Resolved" values, but I want to add another value such as "Test."

Thanks,

Miki

1 answer

1 accepted

Hi myjura,

Question 1

Any issue is considered resolved as long as its "Resolution" value is set or not null.

Question 2

No you can't add a third value to the "Created vd Resolved Chart"

Hi nbhushan,

Thank you for your quick respond. Can you please tell me how to set resoution value?

Thanks,
Miki

If you mean setting an issue's resolution, you do have a few options.

1. Add the "Resolution" field on your "Edit Issue Screen".

2. Add the resolution field in a screen displayed during an issue transition. For example, if you take a simple workflow which has three states, open, in progress and closed, you might want to provide a screen for the transition between "In Progress" and "Closed" where a user selects the resolution of the issue before closing the issue. For example, fixed, not fixed, won't fix, etc.

3. There are also use cases where companies just treat all closed issues as fixed. In this case, you don't need to allow the user to set the resolution. Instead, you can use a workflow post-function to set the issue resolution field to "Fixed" automatically upon closing the issue.

One minor comment, probaly, adding Resolution field to Edit screen is not a good practice. 2 or 3 can be followed.

I see. I like the No3 idea! Thank you.

I understand your response to how Jira counts resolved issues ... quite straightforward ... until I try to duplicate the results with a query ... my results are always off by a few issues one way or the other. Specifically, I'm comparing the numbers displayed on the Created vs Resolved gadget. For example, right now, I have a query underlying that gadget that indicates that in the past 30 days, 150 issues have been resolved. But if I run this query: "resolutiondate < now() and resolutiondate > endOfDay(-30)" the numbers don't agree. (I've tried several variations on this using "resolution was empty ...", (-29), startOfDay, etc. ... but can never seem to find a way to reliably duplicate this gadget's calculation.

Not a huge deal since I'm in the neighborhood ... but when I have executives challenge the math, it's difficult to defend since I cannot duplicate.

Thoughts?

Do you have issues that have been in a resolution state at some point but have transitioned back to an active state?

I've found that the created vs resolved calculates based on how many issues have a resolution value. If an issue has been "Reopened" it seems the resolution value is not cleared out so these are still calculated as resolved by the gadget.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

246 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you