# Issue fields in Jira Automation: syntax and examples

URL: https://goingstellar.ro/reference/smart-values/issue-fields/

The issue smart values read the work item the rule is acting on. Write {{issue.}} followed by a field name or a property of a field, such as {{issue.status.name}}. Use them in comments, e-mails, Slack messages and edit actions.

## Syntax

```
{{issue.key}}
{{issue.summary}}
{{issue.status.name}}
{{issue.<field name>}}
```

## Arguments

- `field` (required: yes): System field name (key, summary, description, labels, duedate) or the name of a custom field, optionally followed by a property such as .name or .displayName

## Works on

- Fields: any field on the active work item, system or custom
- Returns: text, a list (labels) or an object whose properties you reach with a dot

## Examples

```
{{issue.key}}: {{issue.summary}} ({{issue.status.name}})
```

One line for a Slack message or a comment that identifies the work item and where it stands.

Result:

```
WEB-48: Hello World! (To Do)
```

Run on Jira Cloud on 29 Nov 2026.

```
{{issue.issueType.name}}
```

Branch a message on the work item type, or print it in a notification.

Result:

```
Task
```

Run on Jira Cloud on 29 Nov 2026.

```
{{issue.priority.name}}
```

Show the priority in an escalation e-mail.

Result:

```
Medium
```

Run on Jira Cloud on 29 Nov 2026.

```
{{issue.labels.join(", ")}}
```

Turn the labels list into one readable string for a summary line.

Result:

```
checkout, demo
```

Run on Jira Cloud on 29 Nov 2026.

```
{{issue.key}} is due {{issue.duedate.format("d MMM yyyy")}}
```

A reminder that names the work item and shows its due date in a short format.

Result:

```
WEB-48 is due 15 Dec 2026
```

Run on Jira Cloud on 29 Nov 2026.

```
{{issue.description}}
```

Copy the description into a new work item or a notification.

Result:

```
Checkout page redesign. Customer reported the total is wrong.
```

Run on Jira Cloud on 29 Nov 2026.

## Pitfalls

- The documentation calls issues "work items" and projects "spaces", but the smart values keep the old names: `{{workItem.key}}` and `{{space.key}}` render empty (checked on Jira Cloud, November 2026).
- A misspelled field such as `{{issue.sumary}}` does not fail. It renders an empty string, so a typo shows up only in the message you send. Read the audit log of a test run first.
- The capital letter in `{{issue.Key}}` does not matter: it gives the same key as `{{issue.key}}`.
- Empty fields give an empty string. `{{issue.fixVersions}}`, `{{issue.components}}`, `{{issue.parent.key}}` and `{{issue.resolution.name}}` are all empty on a work item that has none of them. Add a default value when the text must not read blank.

## Questions and answers

### Where do I find the exact name of a custom field?

Use the field name as shown in Jira, for example `{{issue.Story Points}}`. If the field does not exist or is empty on the work item, the smart value renders empty.

## Related

- [Default values {{value|default}}](https://goingstellar.ro/reference/smart-values/default-values/)
- [{{issue.comments}}](https://goingstellar.ro/reference/smart-values/issue-comments/)
- [{{assignee}}, {{reporter}}, {{creator}}, {{initiator}}](https://goingstellar.ro/reference/smart-values/user-smart-values/)
- [{{project.key}}, {{project.name}} and other project values](https://goingstellar.ro/reference/smart-values/project-smart-values/)
- [{{issue.url}} and {{baseUrl}}](https://goingstellar.ro/reference/smart-values/issue-url-baseurl/)

## Sources

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

