Details
-
Fix
-
Status: Released (View Workflow)
-
Medium
-
Resolution: Fixed
-
2.5.3, 2.6.0
-
None
Description
Current Situation
- When a user assigns a job an environment variable with the following function as a value:
jobResourceVariable('apJS01', 'var1')
then the function is wrongly quoted in JSON:
"env": { "my_var": "\"jobResourceVariable('apJS01', 'var1')\"" }
Desired Behavior
- No quoting should apply to assignment of functions:
"env": { "my_var": "jobResourceVariable('apJS01', 'var1') " }
Workaround
- Users can select the "Edit JSON" action menu item from the tree panel in the Configuration view to remove unwanted quotes. Submitting the changes will allow to use assigned functions as desired.
- The workaround is limited as next time that a user will select a job's "Environment Variables" tab then again unwanted quotes will be added.
Attachments
Issue Links
- translates
-
JOC-1628 Automatically remove quotes when removing unwanted spaces from functions in variable assignments
- Released