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

How to set hyperlink in Jira Automation and Post Function


There is other way than this: 

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

for use the hyperlink of an issue?

For example I have an issue that have an Epic Link with another Issue, is possible to use the hyperlink for the epic and not only for the children issue? I have tried in this way:

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

but it doesen't work


P.S: customfield_10014 is the epic link of the issue

1 answer

0 votes
John Funk Community Leader Feb 22, 2021

Hi Erika,

I have not tried that before, but maybe try this:

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

Also, you do not need to tag adaptavist for Automation posts in Community is it is a different too. 

Can I use this way to insert the hyper link in a String into a script?

at the end of the script I insert the String in a text field of an issue and an Automation send an email with this customfield in the body of the mail

something like that:

def text = "for the issue <a href="{{issue.toUrl}}">{{issue.customfield_10014}}</a> you have to do......"

how to do something like that?

John Funk Community Leader Feb 22, 2021

I am not exactly sure of what you are expecting the output to be, but, yes, you should be able to do that - give it a try and see how it goes. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

102 views 1 7
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