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

I need to create a custom email with post-function that adds the link to that issue

Hello.

 

I need to send a custom email to the Reviewer (custom field) when an issue transitions to an status. I am already creating the post-function tool. The thing is, I need the email to have the link to that issue, so the reviewer can easily read it and then click on it and open Jira immediately. I don't know how to code that. Can anybody help me?

1 answer

Suggest an answer

Log in or Sign up to answer
2 votes
Adrien Low _ServiceRocket_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 24, 2021

Hey @Eimy Jimenez ,

If you have the Send a custom email [ScriptRunner] post-function configured, below is a sample script that you can put into the Email template field:-

Dear ${issue.reporter?.displayName}, <br><br>

This issue has been transitioned to ${issue.status.name}.

View the issue <a href="http://localhost:8080/browse/${issue.key}">here</a>. <br><br>

Regards.

The output would be something like this:-

sampleOutput.png

Regards.

TAGS
AUG Leaders

Atlassian Community Events