Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Incoming Mail Handler - ScriptRunner messageHandlerContext error

Batuhan ŞEN August 5, 2022

Hi everyone,

I want to create an issue on Jira based on reading a mail for every specific minute.

Script Runner has a document. 

https://scriptrunner.adaptavist.com/latest/jira/mail-handler.html

I tried it.

I defined Incoming mail server and used that server on adding handler. I added script. 

But an error occurred. This line has an error.

messageHandlerContext.createIssue(user, issueObject)
In detail,

Caused by: com.atlassian.jira.workflow.WorkflowException: Error occurred while creating issue. This could be due to a plugin being incompatible with this version of JIRA. 

When I removed that line no error. I imported also com.atlassian.jira.service.util.handler 

 

Could u help me ? Any suggestions or another way to create an issue from an email? 

Thanks

BR

 

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer