To track which Sprint that defects were raised in, we'd like to have a second "Sprint" field, called something like "Raised in Sprint", which works in much the same way as the system Sprint field, or as a drop-down of available Sprint values.
Is this possible using ScriptRunner, JMCF, or another addon?
Not as you describe, no. You could use a custom field to hold and show a "raised in sprint" (and you could use scriptrunner to populate it when issues are created during the sprint), but it's never going to work like the sprint field.
Thanks Nic, what I'd really like is to populate a drop-down with sprint values, is that not possible? We can't rely on sprint dates unfortunately as we have parallel sprints running across teams.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, if you have ScriptRunner (I'm not sure the other scripting apps could do this)
I do not know if the best design would work. Ideally, you'd write a Listener that could spot when new sprints are started, grant itself admin rights temporarily for itself, and adds the name of the sprint as an option in a select or multiselect list. The reason I hesitate is that I do not know if there is a "sprint created" event fired when it is done.
So, the second option would be a service that runs regularly, doing the same, but searching for newly created sprints rather than listening for an event.
Either way, I'd also think about having something that could disable sprint-options after you don't need them any more, as the list could get long and unwieldy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic, we do have ScriptRunner - I was hoping there'd be a simple function to get a list of active sprints. I'll look into the Listener suggestion, thanks.
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.