# isAlpha() and isNumeric() in Jira Automation

URL: https://goingstellar.ro/reference/smart-values/isalpha-isnumeric/

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 29 Nov 2026.

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

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

Result:

```
true
```

Run on Jira Cloud on 29 Nov 2026.

```
{{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 29 Nov 2026.

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

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

Result:

```
true
```

Run on Jira Cloud on 29 Nov 2026.

```
{{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 29 Nov 2026.

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

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

Result:

```
false
```

Run on Jira Cloud on 29 Nov 2026.

## Where the documentation differs

- `{{issue.summary.isAlpha()}}`: run on Jira Cloud, 29 Nov 2026: the documentation says `true`, the actual result is `false`.
- `{{issue.summary.isAlphanumeric()}}`: run on Jira Cloud, 29 Nov 2026: 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.

## Related

- [isEmpty() and isNotEmpty()](https://goingstellar.ro/reference/smart-values/isempty-isnotempty/)
- [replace(), replaceAll() and remove()](https://goingstellar.ro/reference/smart-values/replace/)
- [asNumber](https://goingstellar.ro/reference/smart-values/asnumber/)
- [substringAfter(), substringBefore(), substringBetween()](https://goingstellar.ro/reference/smart-values/substringafter-substringbefore/)
- [gt(), gte(), eq(), lt(), lte()](https://goingstellar.ro/reference/smart-values/number-comparisons/)

## Sources

- [Jira smart values: text fields (Atlassian Support)](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/)

