Hi guys,
I am trying to populate a custom "Text Field" from a custom "Select" field on issue creation.
I need to urlEncode the value returned from the select field.
The first two smart values below return a populate the field with the value from the select field as expected.
But I can't seem to get it to return anything when I try to apply any text functions to the value.
Any ideas would be amazing!!
{{triggerissue.Client}}
{{issue.Client}}
{{issue.Client.urlEncode}}
{{issue.Client.toLowerCase()}}
{{issue.Client.toString}}
{{issue.Client.toString.urlEncode()}}
{{issue.Client.toString.urlEncode}}
FOR MY REF - https://engineroom.atlassian.net/jira/core/projects/TM/settings/automate#/rule/5779300/99797926
Hi @joemallion - UrlEncode should be the right function:
{{issue.Client.urlEncode}}
Question is your Client field a multi-select? If so, you may need to have it iterate
{{#urlEncode}}{{issue.Client}}{{/}}
Amazing, thank you.
The below did the trick nicely. :)
{{#urlEncode}}{{issue.Client}}{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @joemallion
can you try this :
{{#urlEncode}}{{issue.Client}}{{/}}
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#Encoding
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.