# Project smart values in Jira Automation: examples

URL: https://goingstellar.ro/reference/smart-values/project-smart-values/

The project smart values describe the project that triggered the rule. Use them in notifications and in names of work items you create, so the same rule works in many projects.

## Syntax

```
{{project.key}}
{{project.name}}
{{project.id}}
{{project.projectTypeKey}}
{{project.avatarUrls}}
```

## Works on

- Fields: the project of the active work item
- Returns: text; avatarUrls returns the URLs of four sizes

## Examples

```
{{project.key}}
```

Prefix a message or a label with the project key.

Result:

```
WEB
```

Run on Jira Cloud on 29 Nov 2026.

```
{{project.name}} ({{project.key}})
```

A readable project label for a weekly digest.

Result:

```
Website Relaunch (WEB)
```

Run on Jira Cloud on 29 Nov 2026.

```
{{project.id}}
```

The numeric ID, for REST calls that ask for a project ID.

Result:

```
10066
```

Run on Jira Cloud on 29 Nov 2026.

```
{{project.projectTypeKey.capitalize()}}
```

Make the lowercase type key read well in a message.

Result:

```
Software
```

Run on Jira Cloud on 29 Nov 2026.

```
{{project.lead.displayName}}
```

Name the project lead in an escalation.

Result:

```
<display name>
```

Run on Jira Cloud on 29 Nov 2026.

```
{{project.avatarUrls."48x48"}}
```

Take one avatar size for a Slack or e-mail card.

Result:

```
https://your-site.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10406
```

Run on Jira Cloud on 29 Nov 2026.

## Where the documentation differs

- `{{project.projectTypeKey}}`: run on Jira Cloud, 29 Nov 2026: the documentation says `Software (type names such as Business, Software, Service management, Discovery)`, the actual result is `software`.
- `{{project.avatarUrls}}`: run on Jira Cloud, 29 Nov 2026: the documentation says `48x48=https://acme.atlassian.net/secure/projectavatar?pid=11200&avatarId=10404, 24x24=..., 16x16=..., 32x32=... (no braces, projectavatar URLs)`, the actual result is `{48x48=https://your-site.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10406, 24x24=https://your-site.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10406?size=small, 16x16=https://your-site.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10406?size=xsmall, 32x32=https://your-site.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10406?size=medium}`.

## Pitfalls

- The type key renders in lowercase: `software`, not `Software` as the documentation shows (checked on Jira Cloud, November 2026). Compare in lowercase or capitalize it.
- `{{project.avatarUrls}}` renders with curly braces and universal_avatar URLs, not the plain list in the documentation. Pick one size with `{{project.avatarUrls."48x48"}}`.
- The pages call projects "spaces", but `{{space.key}}`, `{{space.name}}` and `{{space.id}}` render empty. Keep writing `project`.
- `{{project.url}}` is empty. Build a project link from `{{baseUrl}}` and the key.

## Related

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

## Sources

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

