-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Rule - Smart Values
-
Minor
-
Jira Software
Overview
When the sprint name for the Create sprint action is set to a smart value, the action will execute as expected, but the audit log will report the execution as having the status `SOME ERRORS`, with the error message "Sprint name is required (name)".
Steps to reproduce
- Ensure you have a Scrum project on your Jira site
- In your Scrum project's backlog, create a sprint named "2024.6"
- Create an Automation rule with the following components
- Trigger on Sprint completed
- Create a smart value variable called previousName with the smart value of "sprint.name"
- Create another smart variable called nextSprint with the smart value of "previousName.split(".").asNumber.plus(1).toString()" (this will increment the month fragment of the sprint name for the next sprint)
- Create sprint in the same board, with the sprint name set to "nextSprint", the start date set to "now" and the end date set to "now.plusBusinessDays(10)"
- Start the sprint you created in step 2, and then immediately complete the sprint
- Observe the backlog will now have a sprint named "2024.7" i.e. the rule execution succeeded
- Navigate to the audit log of your rule, and observe that the rule execution has a status of SOME ERRORS with the error message: "Sprint name is required (name)"