Going Stellar

Home/Smart values reference

Jira Automation smart value

{{issue.url}} and {{baseUrl}} in Jira Automation

{{issue.url}} is the web address of the active work item and {{baseUrl}} is the address of the Jira site. Use them to put a clickable link into a Slack message, an e-mail or a comment.

Syntax

{{issue.url}}
{{baseUrl}}

Works on

  • Fields: the active work item and the site
  • Returns: a URL as text

Examples

{{issue.url}}

The link to the work item, ready to paste into a message.

Result:

https://your-site.atlassian.net/browse/WEB-48

Run on Jira Cloud on .

{{baseUrl}}

The site address, for links to boards, filters or other pages you build yourself.

Result:

https://your-site.atlassian.net

Run on Jira Cloud on .

{{baseUrl}}/browse/{{issue.key}}

Build the work item link by hand when you need the same address from {{baseUrl}} and the key.

Result:

https://your-site.atlassian.net/browse/WEB-48

Run on Jira Cloud on .

<{{issue.url}}|{{issue.key}}>

Slack link syntax: the key becomes the clickable text.

Result:

<https://your-site.atlassian.net/browse/WEB-48|WEB-48>

Run on Jira Cloud on .

Pitfalls

  • The documentation says {{issue.url}} also gives the customer portal address for Jira Service Management requests. On a software project it gives the normal /browse/KEY address.
  • String functions on a URL can come back empty. {{issue.url.length()}} and {{issue.url.replace(baseUrl,"")}} both rendered an empty string (checked on Jira Cloud, November 2026). Build the part you need from {{baseUrl}} and {{issue.key}} instead.
  • Slack and Jira use different link syntax. The <url|text> form is for Slack; in a Jira comment the plain URL is enough.

Sources

  1. Jira smart values: issues (Atlassian Support)

Markdown version · All smart values