Going Stellar

Home/Smart values reference

Jira Automation smart value

Project smart values in Jira Automation: examples

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 .

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

A readable project label for a weekly digest.

Result:

Website Relaunch (WEB)

Run on Jira Cloud on .

{{project.id}}

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

Result:

10066

Run on Jira Cloud on .

{{project.projectTypeKey.capitalize()}}

Make the lowercase type key read well in a message.

Result:

Software

Run on Jira Cloud on .

{{project.lead.displayName}}

Name the project lead in an escalation.

Result:

<display name>

Run on Jira Cloud on .

{{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 .

Where the documentation differs

  • {{project.projectTypeKey}}

    Run on Jira Cloud, : the documentation says Software (type names such as Business, Software, Service management, Discovery), the actual result is software.

  • {{project.avatarUrls}}

    Run on Jira Cloud, : 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.

Sources

  1. Jira smart values: projects (Atlassian Support)

Markdown version · All smart values