Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to send value from single issue link picker in email

Amusnet Interactive June 28, 2023

Hello,

I`m trying to send value from single issue link picker in email via automation, but without any success.

I have linked ticket in the custom field, and i want to create automation to send it as link via email, so the recipient to be available to click on the link and to be redirected to the ticket.

1.PNG

Any advices will be appreciated.

Thanks in advance.

2 answers

1 vote
Sachin Dhamale
Community Champion
June 28, 2023

@Amusnet Interactive,

You need to use the smart value for custom field in the email body refer this

{{issue.CustomField Name}}

Amusnet Interactive June 29, 2023

Already tried, no success 

0 votes
John Funk
Community Champion
June 28, 2023

Hi Amusnet,

Try using this code for the field to make a clickable link:

<a href="{{issue.toUrl}}">{{issue.key}}</a>

Also, this previous post has information about using a variable for the linked issue if it is not the actual trigger issue you are using. 

https://community.atlassian.com/t5/Jira-Service-Management/Smart-Value-for-linked-issue-URL-Automation-Cloud/qaq-p/2268662

If you would like to share the actual rule we could give more direct advice. 

Amusnet Interactive June 29, 2023

Hi John,

My automation rule is very simple, because i`m researching if it`s possible to send the link from the custom filed.

1.PNG

Just tried your solution, but in the mail i get link of the ticket, but not the link of the ticket from the custom field.

2.PNG

John Funk
Community Champion
June 29, 2023

Try

<a href="{{issue.toUrl}}">{{issue.customfield_13201}}</a>

Amusnet Interactive June 29, 2023

I have a small progress :)
I use <a href="{{issue.toUrl}}">{{issue.customfield_13201.value}}</a> and in the mail i get the name of the ticket from the custom field, but the link still not working.

When i click i open the ticket, not the link from the custom field.

John Funk
Community Champion
June 29, 2023

And the value in the field is a Jira issue key? 

Amusnet Interactive June 29, 2023

Yes,

It`s "single issue link picker" custom field.

John Funk
Community Champion
June 29, 2023

Hmm, not sure why it would not provide the link then. You might try putting this full URL in front after > and before {{ with no spaces. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events