Going Stellar

Home/Smart values reference

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-44

Run on Jira Cloud on .

{{issue.issueType.name.toUpperCase()}}

Show the work type in capitals in an alert.

Result:

TASK

Run 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 on Hello World! but true after toLowerCase() (checked on Jira Cloud, November 2026). Lower both sides of a comparison.
  • Only letters change. The ! and the digits in a key such as web-44 stay 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.

Sources

  1. Jira smart values: text fields (Atlassian Support)

Markdown version · All smart values