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
TAGS
atlassian, rovo agent workshop, build a rovo agent, interactive workshop, Atlassian Intelligence, rovo agent building, automated triage, ai agents, cloud app development, atlassian learning, rovo studio, developer productivity, Rovo workshop

Let's build A Rovo Agent 🤖

Want to build your own Rovo Agent? Join this interactive workshop and dive into a powerful Rovo use case: improving resolution time with automated triage.

Save your spot
AUG Leaders

Atlassian Community Events