If the Jira Cloud Sprint report can render an * for what items have been added after sprint start, how can I write JQL to do the same thing? From all indications of older posts that, it is not possible, However in 2018 it is crazy that we can't pull this same data out of Jira without spending more money on a plugin if the UI can access this data.
Vote for JSWSERVER-20097 to have this built into JIRA Server, or JSWCLOUD-16523 for JIRA Cloud, by default.
To find the issues added after the sprint has started, you can consider using our professional indexing service:
After you install the app you can find out what issues were added after the sprint started:
issue in addedToSprintAfterStart("My board", "Sprint 5")
Make sure to check out the documentation.
I hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So to find issues that have started after the sprint, we need to install an app?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We use JIRA 7.12 server version.
We could not find this information, without purchasing a JIRA add-on (Adaptavist Scriptrunner)
Once we had licensed it, the following JQL finds this information:
project = <Project Name> AND issueFunction in addedAfterSprintStart("<Sprint Board Name>")
Add-on documentation available here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
one problem with this solution (i'm trying to work on the same problem in the last week or so) - the function of addedAfterSprintStart is working on on hosted jira, not on cloud jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same. We tried using scriptrunner but it doesn't have that feature in the cloud either. It really annoys the hell out of me because the data is available in Jira Cloud, based ont he * used in the sprint report indicating what had been added to the sprint, Altassian is just handicapping their cloud product so you'll buy the cloud hosted/on-prem version. Just a dumb, dumb business practice on their part, and making me have to evaluate what other options are out there since they don't want to give the cloud version parity to hosted/on-prem @Atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agreed this is ridiculous this doesn't come out of hte box, but THANK YOU to whoever posted the JQL and tip on JIRA add-on (Adaptavist Scriptrunner). Miracle of miracles my org actually has that add-on and that JQL syntax worked perfectly!!! I just wish i could have it come up in a Y/N as an actual field, but at least with the results i can compare them against the rest of the items in the sprint to figure out the planned/unplanned work ratio.
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.
@Troy Spetz Thank you for the answer. Could you please specify the query for the past sprints as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can determine it using Jira Automation.
Create a rule that is triggered when the field Sprint is updated and a condition to check if Sprint is in an OpenSprint(). You can add a flag in Labels and after that, build a JQL query for that Label and you will get the data you desired.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We do this as our team members need to report on issues added to an active sprint and they need to report on what day they were actually added.
On the Edit of the issue we set the custom date field to {{now}}. Probably not perfect, but allows the team to run a JQL for that specific sprint and then they just look for issues where the Added to Active Sprint Date is not Empty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Julian Governale for sharing this. I was trying to do the same from long time but is not working for me to get the opensprint() correctly and if condition is failing for me. Would you mind in sharing the snippet if it is working for me? For your reference adding the snap as well, i have tried different ways as well but no luck.
Can anyone help to cross this stage? It would be a great help.
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.
Hi @uttam kumar bhatta , @Carlos Neto is correct, you want to use JQL
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.
Is there still no solution to this since 2018 for Jira Cloud WITHOUT having to install an Add-On??
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.
Can you please try :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does it need any plug in?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This doesn't seem to work without a plug in. :/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for sharing! I implemented the automation and now I use Jira Cloud for Sheets to automatically run the JQL for each sprint to output the data into a report.
I am going to play around the automation to track tickets removed from the sprint. I'd like to audit if my teams are adding and removing the same SPs per sprint. Any ideas @carlos neto or @Julian Governale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Duh.. just answered my own question. All you need to do is edit the condition type to Value Deleted.
One thing of note, I noticed my labels were getting removed and replaced by the new label.
Ensure that under the Labels option you select Add/remove values. By default it is set to Set value, which removes existing values and sets the new one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After further testing, this solution doesn't work because the condition is not met after the sprint value is removed. I have a work around solution, which is certainly not as elegant. It basically run an automation if the sprint value is removed to add a label. I then can search for that label at the end of each sprint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good approach!
I wrongly ignored this situation.
For your curiosity, I adopted a similar approach. I added Add comment to Issue action rather than Add Label when the Sprint field was changed or deleted.
The advantage of my approach is to get easily the date when the delete or change sprint field was made.
Issue Comments are compatible with JQL (without eJQL). Then I can create Filters without Extend Search plugin (eJQL)
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.
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.