Jira Automation smart value
toLowerCase() and toUpperCase() in Jira Automation
toLowerCase() turns every letter of a text value into lower case and toUpperCase() into upper case. Use them to compare text without worrying about capitals, or to shape a value for a URL, a tag or a heading.
Syntax
{{text.toLowerCase()}}
{{text.toUpperCase()}}
Works on
- Fields: any text value, such as issue.key, issue.summary, a label or a name.
- Returns: the same text in one case.
Examples
{{issue.summary.toLowerCase()}}Lower the summary before you compare it with something typed by hand.
Result:
hello world!Run on Jira Cloud on .
{{issue.summary.toUpperCase()}}Write the summary as a heading in capitals.
Result:
HELLO WORLD!Run on Jira Cloud on .
{{issue.key.toLowerCase()}}Make the issue key usable in a branch name. With a work item key of WEB-44 it gives web-44.
Result:
web-44Run on Jira Cloud on .
{{issue.issueType.name.toUpperCase()}}Show the work type in capitals in an alert.
Result:
TASKRun on Jira Cloud on .
{{issue.summary.toLowerCase().replace(" ", "-")}}Chain with replace() to get a slug-like text from a title.
Result:
hello-world!Run on Jira Cloud on .
Pitfalls
- Case matters in most text functions.
startsWith("hello")is false onHello World!but true aftertoLowerCase()(checked on Jira Cloud, November 2026). Lower both sides of a comparison. - Only letters change. The
!and the digits in a key such asweb-44stay as they are. - A chain runs left to right, so
toLowerCase().replace(...)replaces in the lowered text. Put toLowerCase() first when the replace text is lower case.
Related
- capitalize()
- startsWith() and endsWith()
- equals() and equalsIgnoreCase()
- replace(), replaceAll() and remove()
- trim()
- indexOf() and lastIndexOf()