Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Utilizing smart values in linking an issue


I have tried several suggestions from the community on utilizing a smart value to extract a value from the description and utilizing it to create a link to an issue in an automation rule.

Here is the description of my issue:

Organization: Hosted Claim System
Customer Reference # CC-3301

Env. Affected: Production
Status: GW in Progress


So I utilized the string between to get the value:

{{issue.description.substringBetween("Customer Reference # ","Env. Affected:")}}

I put this smart value in the "Link issue to" in the automation rule.   I'm trying to get the CC-3301 to be a linked issue to the current issue

This wasn't working, so I created a temporary jira field and used the above smart value and it put the CC-3301 in the jira custom field.

So then I used the jira custom field I created that has the CC-3301 value in it as the "Link issue to" with each of the following smart values:





Then I tried utilizing Json under the edit issue "more options" to fill in the "Link issue to" fields:

{"update": {
"issuelinks": [
"add": {
"type": {
"name": "Relates"
"outwardIssue": {
"key": "{{issue.customfield_16100}}"


Still cannot get anything to work.  I don't understand why the 

{{issue.description.substringBetween("Customer Reference # ","Env. Affected:")}}

works to fill in the custom field, but won't work on the "Link issue to"

I'm not sure what else to try....Link issues



07/07/21 - so I tried putting some Json in the more options under Edit issue(see below) for Automation for JIra.  I put the information from the description in a custom field and automation fills in the issue key I want to link to the custom field.  Then I tried to utilize the custom field value in the link for the current issue.   I get the error (At least one of 'id' or 'key' is required to identify an issue)

Does anyone have any Ideas on how to take a value out of the jira issue description and utilize the value for creating a link for the current issue???????

"update": {
"issuelinks": [{
"add": {
"type": {
"name": "Relates",
"inward": "is blocked by",
"outward": "blocks"
"outwardIssue": {
"key": "{{issue.customfield_16100}}"



1 answer

Have you found the answer?
Very interesting case )

No have not found an answer 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events