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

How to set hyperlink in Jira Automation and Post Function

Hi,

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

Suggest an answer

Log in or Sign up to answer
0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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. 

TAGS
AUG Leaders

Atlassian Community Events