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

Post Function - Send a custom email with High Importance Edited

Guy Anela Jan 08, 2018

I'm using the "Send a custom email" Post Function and I'm wondering if there's a way to flag the email as important? I saw this similar question asked and asked Jamie if a solution was ever implemented (waiting to hear back). Anyhow, I figured I'd ask the question again in hopes that someone else might have an answer/solution. :) Thanks in advance!

1 answer

1 accepted

0 votes
Answer accepted
Adam Markham [Adaptavist] Community Leader Jan 09, 2018 • edited Jan 11, 2018

You can do this by setting the piority header in the "Condition and configuraton" section of the send custom email script like so:

mail.addHeader("X-Priority", "1 (Highest)")

true

 

Guy Anela Jan 10, 2018 • edited

Thanks for the suggestion Adam but we're looking for a way to utilize the "X-Priority" email header as Jamie pointed out in the linked question mentioned in my original post.

Adam Markham [Adaptavist] Community Leader Jan 11, 2018

I've actually realised this is possible if you have one of the later versions of ScriptRunner which has the "Condition and configuration" section in the send a custom email script. Have updated my answer above.

Guy Anela Jan 11, 2018

Confirmed! ...thanks Adam!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar alert! An IT Admin's Guide to Securing Collaboration at Scale

Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...

186 views 2 7
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