I'd like to add a post function on a transition that essentially says, if the task isn't in the current sprint, sent Sprint = current sprint. Is this possible with JIRA Workflow Toolbox?
I'm trying to add the "Update issue field" post function where I write in Parsed text (advanced mode) into Sprint but I'm not sure if there is a way to assign the current sprint.
it's possible to add issues to a sprint. Jira Workflow Toolbox offers the virtual field Sprint ID for this purpose to set the Sprint field of the issue. The challenge is to provide the correct value for the sprint. There's no simple "current sprint" available (but sprint start and end dates) and if you have a look at the list of sprints in the Sprint field you will notice that a lot of sprints will be displayed (if available in the system). So you have to find a workaround for getting the right Sprint ID. Through filtering for a specific issue/a set of issues and reading the value for example. This is all depending on the complexity of your board/project setup but you can get there. :)
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