Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issue Key Smart Tag not consistent in Automation

I have 2 Automation rules running:

both are using the {{issue.key}} to insert the correspondent issue number in the body.  One is in an email, one is in a comment.

the rules are functioning just fine.  However, I get a different result using the {{issue.key}} smart tag in each rule

In one rule, automation sends an email directly to the reporter.  The {{issue.key}} smart tag in the email body generates just the issue number (HEL-1234) for example.  Which is what i want

In the other rule, automation is inserting a comment into the issue ticket, which then sends a notification to the reporter.  However the  {{issue.key}} smart tag in this case generates a full URL, which i don't want.  I would like the commented text to display just the issue number (as stated above when emailed) 

1 answer

0 votes
Fabian Lim Community Leader Nov 12, 2021

Hi @Marc Blascak

Try creating a variable with the new create variable action:

Then see if it displays the key string when it's used in the comments.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,674 views 21 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you