Create sprint action reports sprint name as missing when value is set to smart value - incorrect errors in Audit Log

XMLWordPrintable

    • 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

      1. Ensure you have a Scrum project on your Jira site
      2. In your Scrum project's backlog, create a sprint named "2024.6"
      3. Create an Automation rule with the following components
        1. Trigger on Sprint completed
        2. Create a smart value variable called previousName with the smart value of "sprint.name"
        3. 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)
        4. 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)"
      4. Start the sprint you created in step 2, and then immediately complete the sprint
      5. Observe the backlog will now have a sprint named "2024.7" i.e. the rule execution succeeded
      6. 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)"

            Assignee:
            Eshaa Sood
            Reporter:
            Josh Pancho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: