Every issue in JIRA has a default Sprint field. It is very straightforward. However, with bugs I need one more field - Found in Sprint. Values for this field are the same as that of default Spring field.
Sprint field represents the sprint in which issue is being addressed. However Found in Spring field is used to report in which spring this bug was found.
However, I am not able to create a custom field that contains values of all the sprints. Is there any way I can do this?
For a get, I've got this saved
def sprints = issue.getCustomFieldValue(ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName("Sprint"))
Note that I use "sprints" because an issue could be, or have been in, many sprints.
I am having the same situation:
Our customer wants a custom field for bugs that basically says "Found in Sprint". It is supposed to be something like a drop down menu where the possible options listed are all of the (passed) sprints. Could you please help me out with this?
Thanks in advance!
The solution is to use the sprint field as it is intended. "Found in sprint" is not really a useful piece of information (date/time it was found, or in what version of something it was found is far more useful), but if you really do find it useful, you just use a custom text field.
This is because sprint is not really a data field, it is an indicator of a timebox.
See the discussion above.
Note also that I'm not pointing to any apps that would provide a custom field that behaves as a sprint custom field because no-one has seen any value in writing one.
I think the best implementation of this would be a custom field that works the same way custom-versions do - the custom version field draws its options list from the versions in the project, the same list affects and fix versions draw theirs from. But you don't have a project context for a sprint, nor board, it would have to list every sprint in the system, making it fundamentally non functional after a medium or large user base had been using Jira for a few months.
Hello all! What have you learned from your customers lately? Our live-streamed series continues by exploring CX, UX, and the power of research & insights at scale with Leisa Reichelt, Head of R...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events