our user community needs the number of reopening for each issue on particular projects. Specifically when the issue was transitioned from Resolved to Reopen.
Is there a way to do that? It's something to do in post functions?
Thanks a lot!
You can create a number field and use "add to custom field" type post functions.
It's also possible to create scripted/derived fields to extract it from the history, and there are some addons in the marketplace that implement those counters.
I'm not an export at SQL, just know the basics, and you're probably better off understanding the data instead of just having some SQL that does it from one angle (such as the below, where I've started from the actual change of status record. But you might want to approach it from an issue view)
Read changeitem for lines like "status changed from xxx to Reopened". Then join that to changegroup to read the issueID off which ties the change of status back to the jiraissue table.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG