Create
cancel
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

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

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

533 views 1 10
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