-
Bug
-
Resolution: Unresolved
-
Medium
-
Severity 3 - Minor
Problem Statement:
Automation for JIRA throws errors when using variables to capture Label values, performing actions on the values fetched(Eg: Converting to Uppercase), and then adding it back to a Label field.
How to Reproduce:
AUTOMATION RULE:
Trigger: Issue Created Then: Create Variable = Upper Upper = issue.fields.customfield_xxxx.toUpperCase() And: Edit Issue Fields: customfield_xxxx = Upper
ERROR:
Edit issue
Error editing issues
Proj-xxxx (The label 'JIRA AUTOMATION' can't contain spaces. (customfield_xxxx))
CAUSE:
- When adding/setting the labels field on an issue through automation, it currently assumes that a smart value will resolve to a single value.
- If you are trying to add multiple labels through automation by assigning values to a label field through a variable, It will resolve the multiple labels into a single value. It is considering the "space" in between the labels and making it a single value and you will end up with the error "The label X can't contain spaces" in the automation audit log.
WORKAROUND:
Currently there is no known workaround for this behavior. A workaround will be added here when available.
- is duplicated by
-
JSDCLOUD-14154 When adding smart value to the variable, spacing does not work
-
- Closed
-
-
AUTO-315 Ability to copy values from other fields when using Automation to create an issue
- Closed