Hello
I have a scenario where i need to provide regular reports to different teams. each team manages work thru labels and they use it heavily.
Lets say there is a label "xyzlabel" and i want to know the date when this label was added to a jira stories in a project. at the end of the sprint we look at how many stories had this label applied each day.
Hi N R,
The labels field does not currently hold an updated date or time in a manner that is accesible with JQL as history searches do not support the 'labels' field.
In another post a user suggested searching for issues that were updated in the last day and have this label by using the query below:
project = "My Project" AND labels in ('my_label') AND updated > -1d
You can change the day range to find older tickets. At this time I would also suggest going to JAC and creating a Suggestion ticket to have historical data added to the labels field!
Cheers,
Branden
I don't see that query as an accurate measure of how many Jira issues got a label added on a specific date (or a date range), because what if a story is "updated" and contains the label, but the actual "update" done to the story wasn't to add that label, but to add story points, then the filter isn't accurately showing that the label was added on that date. Jira would need to have a specific action of "added label" and then have the criteria be a specific label.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If JQL is not helping and if you have read-only access to jira database, how about this SQL query
SELECT *
FROM changeitem AS ci
LEFT JOIN changegroup AS cg ON cg.id=ci.groupid
WHERE ci.field='labels' AND ci.oldstring NOT LIKE '%SOME LABEL%' AND ci.newstring LIKE '%SOME LABEL%' AND DATE(cg.created) BETWEEN '2020-08-01' AND '2020-08-31';
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.