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

How can we embed links in a multi-line test field into a mail from Automation for JIRA

So I have a multi-line custom text field called "Scope". The information in it goes somewhat like :

<link to an issue> - <Summary of the issue>

<link to second issue> - <Summary of the second issue>

 I've managed to add this field to the email triggered on one of the transitions using {{issue.customfieldid}} however the links appear as plain text in the email. Is there a way to present the links as is, in the email?

1 answer

0 votes
John Funk Community Leader Jun 11, 2021

Hi Rishikesh,

You can use the syntax to create a link for the issue in Automation:

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

Hey John

Thanks for the response. Does this work for multi-line text fields? Because the text I mentioned is in a multi-line text field. And the values will be different for each one. I tried using <a href="link to the issue"> issue key</a> in the field itself and it worked, however is there a way to integrate this into the automation script, as some issues can have several such issues mentioned in this field, and it seems too big a task to go and do all this manually for each one.




John Funk Community Leader Jun 11, 2021

I have not actually tried that. Best I can tell you is to give it a try.  :-)

Hi John

I tried the suggested solution, but didn't work.

John Funk Community Leader Jun 15, 2021

I would go ahead and open a support ticket with Atlassian to see if they can help with the multi-line text field thing.

Please post the resolution back here. 

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events