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:
WEBRun 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:
10066Run on Jira Cloud on .
{{project.projectTypeKey.capitalize()}}Make the lowercase type key read well in a message.
Result:
SoftwareRun 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/10406Run 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 issoftware.{{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, notSoftwareas 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 writingproject. {{project.url}}is empty. Build a project link from{{baseUrl}}and the key.
Related
- {{issue.key}}, {{issue.summary}} and other issue fields
- {{issue.url}} and {{baseUrl}}
- {{assignee}}, {{reporter}}, {{creator}}, {{initiator}}
- Default values {{value|default}}