Going Stellar

Home/Smart values reference

Jira Automation smart value

isAlpha() and isNumeric() in Jira Automation

isAlpha() is true when every character is a letter, isNumeric() when every character is a digit, and isAlphanumeric() when each one is either. Use them to validate a piece of text you cut from a summary, such as the number part of a reference.

Syntax

{{issue.summary.isAlpha()}}
{{issue.summary.isAlphanumeric()}}
{{issue.summary.isNumeric()}}

Works on

  • Fields: text smart values
  • Returns: true or false

Examples

{{issue.summary.left(5).isAlpha()}}

Check that the first five characters of a title are letters only. With a summary of Hello World! they are.

Result:

true

Run on Jira Cloud on .

{{issue.summary.remove(" ").remove("!").isAlpha()}}

Strip the space and the punctuation first, then test the rest.

Result:

true

Run on Jira Cloud on .

{{issue.key.substringAfter("-").isNumeric()}}

Make sure the part of an issue key after the dash is a number before you do maths on it.

Result:

true

Run on Jira Cloud on .

{{issue.key.substringBefore("-").isAlpha()}}

Confirm that the project part of an issue key is letters only.

Result:

true

Run on Jira Cloud on .

{{issue.key.isAlphanumeric()}}

The dash in a key is neither a letter nor a digit, so the whole key fails the test.

Result:

false

Run on Jira Cloud on .

{{issue.summary.left(5).isNumeric()}}

Letters are not digits, so a numeric check on them is false.

Result:

false

Run on Jira Cloud on .

Where the documentation differs

  • {{issue.summary.isAlpha()}}

    Run on Jira Cloud, : the documentation says true, the actual result is false.

  • {{issue.summary.isAlphanumeric()}}

    Run on Jira Cloud, : the documentation says true, the actual result is false.

Pitfalls

  • The documentation says isAlpha() and isAlphanumeric() return true for the summary Hello World!. They return false, because the space and the exclamation mark are not letters or digits (checked on Jira Cloud, November 2026).
  • On an empty text, isAlpha() and isNumeric() both return false, so neither tells you that nothing was found. Use isEmpty() for that.
  • The checks look at the whole text, so one stray character, like the dash in an issue key, makes the result false.

Sources

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

Markdown version · All smart values