Jira Automation smart value
urlEncode in Jira Automation: syntax and examples
urlEncode converts text so it can sit inside a URL parameter, for example in a link in an email or a request to another system. Spaces become plus signs and reserved characters become a percent code.
Syntax
{{issue.summary.urlEncode}}
{{urlEncode(issue.summary)}}
{{#urlEncode}}{{issue.summary}}{{/}}
Works on
- Fields: any text value
- Returns: the encoded text
Examples
{{issue.summary.urlEncode}}Encodes a summary. The space becomes a plus sign and the exclamation mark becomes %21.
Result:
Hello+World%21Run on Jira Cloud on .
https://example.com/search?q={{issue.summary.urlEncode}}Builds a search link that opens with the summary as the query.
Result:
https://example.com/search?q=Hello+World%21Run on Jira Cloud on .
{{issue.summary.concat(" & more").urlEncode}}An ampersand would end the parameter early, so it is encoded as %26.
Result:
Hello+World%21+%26+moreRun on Jira Cloud on .
{{#urlEncode}}{{issue.summary}} & Q&A?{{/}}The block form encodes everything between the tags, including literal text next to a smart value.
Result:
Hello+World%21+%26+Q%26A%3FRun on Jira Cloud on .
{{issue.summary.concat(" a/b=c").urlEncode}}Slashes and equals signs are encoded too, so they cannot change the structure of the link.
Result:
Hello+World%21+a%2Fb%3DcRun on Jira Cloud on .
{{issue.summary.concat(" café ü").urlEncode}}Accented characters are encoded as their UTF-8 bytes.
Result:
Hello+World%21+caf%C3%A9+%C3%BCRun on Jira Cloud on .
Pitfalls
- Encode only the value, not the whole link. Putting the full URL through urlEncode would also encode the colon and slashes and break it.
- Spaces come out as plus signs, not
%20. That is correct inside a query string, but if the receiving system expects%20in a path, replace the plus signs afterwards. - All three forms gave the same result for a summary (checked on Jira Cloud, November 2026), so pick one style and keep it. Atlassian's page lists
urlEncodewithSee Encoding below
instead of a result.
Questions and answers
Is urlEncode() with brackets valid?
Yes. {{issue.summary.urlEncode()}} gave the same result as the version without brackets when checked on Jira Cloud in November 2026.
Related
- htmlEncode, xmlEncode, jsonEncode and quote()
- replace(), replaceAll() and remove()
- {{issue.url}} and {{baseUrl}}
- concat()
- match()