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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,463,243
Community Members
 
Community Events
176
Community Groups

JSM automation email and reference the issue key as URL

Hi,

I am having issues referencing the issue key in the jsm automation email.

 

<a href="{{url}}">{{key}} - {{summary}}</a>  ----------> this does not work

{{createdIssue.key}}  ------------> this comes out as a non-clickable id

 

2023-01-11_13-45-52.png

 

Email comes out as

-

ITSM-131

was created on 11/01/2023

 

how can i get a URL in the email when the issue is created in the automation so the user can click the Issue Key URL and go directly to the ticket. 

 

Note: It's not a issue that the automation creates but system service request type.

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg Community Leader Jan 11, 2023

Hi @Patricia Limbu,

Welcome to Atlassian Community!

The editor does not support html code, it only support markdown notation, but you can include the link by using the smart value {{issue.url.customer}}.

Hi @Mikael Sandberg 

Unfortunately, {{issue.url.customer}} in the email body did not work, the area came out as blank. 

Mikael Sandberg Community Leader Jan 11, 2023

Is the request type field set on the issue that you are using for testing? {{issue.url}} will get you the internal URL, the customer facing one is only available if request type is set.

Yes its set.  But i got to work by trial and error. 

 

{{createdIssue.url}} 

 

is what i used.

 

And a URL hyperlink to the issue was in the email!  Yay!!!

 

thank you @Mikael Sandberg 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events