Jira Automation smart value
capitalize() in Jira Automation: syntax and examples
capitalize() turns the first character of a text value into a capital letter and leaves everything after it unchanged. Use it to tidy labels, status names or pasted titles before you put them in a message.
Syntax
{{text.capitalize()}}
Works on
- Fields: any text value, such as a summary, a label or the result of split().
- Returns: the same text with a capital first letter.
Examples
{{issue.labels.first.capitalize()}}Show the first label with a capital letter in a comment.
Result:
CheckoutRun on Jira Cloud on .
{{issue.summary.toLowerCase().capitalize()}}Normalise a shouting or mixed-case title to sentence case.
Result:
Hello world!Run on Jira Cloud on .
{{issue.status.name.toLowerCase().capitalize()}}Write the status name in sentence case.
Result:
To doRun on Jira Cloud on .
{{issue.summary.split(" ").last.toLowerCase().capitalize()}}Take the last word of the summary and clean up its capitals.
Result:
World!Run on Jira Cloud on .
{{issue.description.toLowerCase().capitalize()}}A long text goes to lower case first, so only the first letter is a capital. Later sentences stay lower case.
Result:
Checkout page redesign. customer reported the total is wrong.Run on Jira Cloud on .
Where the documentation differs
{{issue.summary.capitalize()}}Run on Jira Cloud, : the documentation says
Hello world!, the actual result isHello World!.
Pitfalls
- capitalize() does not lower the rest of the text. On
Hello World!it returnsHello World!, where the Atlassian page showsHello world!(checked on Jira Cloud, November 2026). AddtoLowerCase()before it for sentence case. - It changes the first character of the whole value only. It does not capitalise each word or the start of each sentence.
- Words after the first keep their case. In the sentence example,
customerin the second sentence stays lower case.