Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


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!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to remove [MASSMAIL][JIRA] from scriptrunner custom email subject

Hi everyone!

Can you help me to find solution how to change email subject in the script runner custom email listener.

Ill tried override it in the Condition and Configuration section like this:

mail.setSubject("(${issue}) ${issue.summary}")

or in the Subject template section like this:

(${issue}) ${issue.summary}

 Email subject always contains this subject: 

How can I remove it? ;)

2 answers

you can use in your script -> mailServer.setPrefix("")

0 votes
Carmen Creswell [Adaptavist]
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.
Jan 18, 2019

Hi Nikita, 

This is an email prefix, which is set in the Outgoing Mail section of JIRA. If you go to this section, you can see the settings for the mail server and you can click "Edit" and change the prefix. It cannot be blank, but you can change it to something different, even just a single character. 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events