Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 write a script listner for automatic notification mail for which are in 3 days due

Hi,

what i am asking is I have written a script Listener for automatic due notification and i have done it but the problem is i missed something in that and the notification i am getting like this

1. Issue key: DPMZ

2. asignee: BCC

3. Due date: BBb

4.Summary: DDDD

But i need the notification mail like this

1. Issue key: DPMZ
2. assignee: BCC

3. Due date: BBb

4.Summary: DDDD

while clicking on the issue key it will navigate me to the issue.

regards

Uday

1 answer

1 accepted

0 votes
Answer accepted
Prince Nyeche Community Leader May 11, 2021

I believe email is sent in a html body, so can you define the <a href> tag and append the issue key there with a default url such as "https://mydomain.jira.com/browse/${issueKey}". So once you receive the notification, it can have the link embedded?

Hi Prince

 Thanks for your response, Could you please elaborate this and tell me how to write the script listners and also url

 

Regards

Uday 

Something in this nature, you need to do in the email template you're using to send.

final emailTemplate = """
Hello user

1. Issue key: <a href="https://mydomain.jira.com/browse/${issueKey}" target="_blank">${issueKey}</a>
2. asignee: ${asignee}
3. Due date: ${dueDate}
4.Summary: ${summary}
"""

 

Suggest an answer

Log in or Sign up to answer
TAGS

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