Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-14461

The Edit request type action will fail if a space character is added before or after the smart value

XMLWordPrintable

      Issue Summary

      When you are using a smart value in the Edit request type action, the rule will fail if a space character is added.

      You cant see the space in the UI, but if you export the rule, you can see it on the JSON file:
      {"requestType":{"type":"SMART","value":" {{triggerIssue.Request type}}"}

      Steps to Reproduce

      1. Create a rule to clone an issue.
      2. Within the branch add the Edit request type action.
      3. Insert the smart value by typing a space before or after it.
      4. Run the rule.

      Expected Results

      The rule should ignore the space and find the request type.

      Actual Results

      The rule will fail and you can see the error below in the logs:

      Edit request typeThe chosen request type doesn't exist in this issue's project. Check if the request type has been deleted from the project.Get IT help 

      Workaround

      Remove and re-add the smart value or the action.

              Unassigned Unassigned
              877ac19b0be8 Nataniel Rocha
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: