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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

637 views 10 16
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