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

(solved) Scriptrunner: Mail handler did not use Mailbox


I try to write a mailhandler with Scriptrunner (at 'incoming mail' site).

At first screen, I setup to use a configured imap-server and 'ScriptRunner mail handler',

at secound screen, I put the java code in.

If I press now 'Test', it trys to use the local folder on Server.

But this is not what I have configured - where is my fault?

1 answer

Did you ever figure this out?  We're running into the same issue.

Sorry, I forgot to add this thread.

I had spoken to the vendor...
"In normal operation, the mail handler does not take responsibility for fetching the emails (from whatever source) itself: they just get passed to it by Jira's mail system. The only reason that the Preview functionality uses locally-stored emails exclusively is because these are the easiest for ScriptRunner to fetch, compared to the complexity of communicating with an external mail server: it does not reflect the actual capability of the handler to receive emails from any source."

The answer is: in test mode only the local folder is used. The support promised me to specify this more in the online documentation.

Like Sadikh Huseynov likes this

Thank you for this!! I was beating my head against a wall for quite some time. After i clicked add it did exactly what i wanted it to do

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events