Perhaps being able to query issues in open or closed sprints will suffice?
This answer is helpful, but doesn't directly solve the problem. For instance, I am trying to write a query that would show me all newly created issues since the Sprint began, to help in backlog grooming session. openSprints() does not help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to know how to do this as well. My reasons are that I want to know how many tickets I've completed in another project during my Sprint's start and end dates. Something like:
project="Kanban" AND status was Resolved by currentUser() and resolved >= SprintXYX.startDate and resolved <= SprintXYX.endDate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Something like this I would like to use also.
Unfortunately I haven't find yet.
Any ideas where to look ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1 for this, does anyone find the way to do this?
I just want to filter all issue has been resolved in currentSprint (issue is create in a Kanban board).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Current Sprint is easy, just use this:
resolution is not EMPTY and sprint in openSprints()
The hard part is picking a certain Sprint. Hopefully this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But that query won't exclude tickets that were resolved before the sprint started. I think what Truong (and everyone else on this thread) wants to be able to query:
resolution is not EMPTY and resolution was EMPTY before startofOpenSprints()
Obviously, the above query doesn't exist since startofOpenSprints() is not a real queryable date field.
However, if you time it right, right before you close your sprint (if your sprint is 14 days long), run this JQL:
resolution is not EMPTY and resolution was EMPTY BEFORE -14d and Sprint in openSprints()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I know, there is unfortunately no term for this in pure JQL.
My personal goal is to monitor if any tickets have been created and moved into an active Sprint without my knowledge (alarm!). I currently work around the missing JQL term by using startofWeek(). Since all our Sprints start on (the same) Monday I use this query:
sprint in openSprints() AND createdDate > startOfWeek() ORDER BY createdDate DESC
By this I get all the tickets which have been created since start of Sprint, but only for week 1. In week two I only get the tickets for week 2 and lose all from week 1 (which is OK for me since I try to react instantly). I put the results of the query on a personal Jira dashboard and check them multiple times a day.
I hope this helps anyone who has a similar usecase.
Best,
Claus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
could use this condition too:
createdDate > startOfWeek(-1)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This workaround didn't help me because I don't just need tickets created and moved into the sprint, but even existing tickets moved into the sprint. Like you, I want those highlighted on a dashboard. I ended up having to use the Jira API to do it. From Python, I made an API call for all issues in that sprint of the right type, and once in Python, I could access the issue changelog to see when it was moved into the sprint. If that date was after the sprint start date, bingo!
Later I added code to put the label "ScopeAddition" on the issue after it's identified as being added after the start of the sprint. Then my dashboard just looks for that label.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm looking for the same thing.
If a sprint ends on DATE1, I would like a list of tickets in the sprint that are not a specific status in the workflow by DATE1 - X Days
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can search for 'sprint' in the returned response -
CTRL+F search for sprint - you may get the field which lists down 'sprint details' - ours is a custom_field with some ID, so in jql you can then filter using that field id - or just pull out data from the returned response , accessing dictionary and key as custom field ID
JQL search can be like - jiraURL/jira/rest/api/2/search?jql=Sprint='sprint_name'&fields=customfield_100&maxResults=400
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did not manage to find.
Which page you mean - where I could find sprint details custom_field ID ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can Try "Sprint Report" under Reports. It shows the start and end date of each sprints
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Information is available in Jira (eg. in that page) , but I'm looking way to use it in JQL.
Manual Copy-paste from page to JQL would not be an option in case you have many projects and sprints to handle.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As a work-around, you can get the Sprint dates in PowerBI if you have that connected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arin,
I was looking to display sprint start date and end date from JIRA to Power BI, can you please let me know how that can be done.
Thank you in advance.
Regards,
Navira Shetty
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.
and the name of the add-on would be?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nic was referring to Script Runner, look here;
https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=server&tab=overview
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ScriptRunner have inSprint etc ready made functions, but I did not manage to find way to use sprint start and end dates in JQL.
Im trying to do similar as Completed outside of sprint function where sprint ID could be filled in like incomplete in sprint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you mean "sprinT"? I don't think you can fetch it with JQL off-the-shelf, but I think the script runner add-on would let you pull it out as a function.
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.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline 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.