Forums

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

Issue with issue commented event

Marian Gebauer May 31, 2022

Hello Community

 

I am working on some script that i was hoping will change workflow transition when comment is added via email. I have custom listener via ScriptRunner that is attached to my project on Issue Commented. It was tested and worked when issue is commented from JIRA itself but when I send email to built in JIRA mail handler issue updated event is not triggered therefor script will not run but comment is added to JIRA issue and even JIRA changes updated field.

 

Do you have any word of advice how to approach this bug/feature?

 

Thank you in advance.

1 answer

0 votes
Raynard Rhodes
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.
June 3, 2022

Check the change history and see what event is being sent when this happens.

Marian Gebauer June 5, 2022

Hello @Raynard Rhodes 

 

Thank you for your answer. Do you mean history on issue or what change history do you refer to?

 

Thank you 

Raynard Rhodes
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.
June 6, 2022

https://docs.atlassian.com/software/jira/docs/api/8.20.6/com/atlassian/jira/issue/changehistory/ChangeHistory.html

 

I don't have any examples of using it readily available. After the event takes place, the change history should be available to look at. You may be able to google some examples of using change history

Marian Gebauer June 8, 2022

Hello @Raynard Rhodes 

 

Thanks for you reply but I wasn't able to figure out what event is triggered when issue is commented from email. My script works on issue comment from JIRA but it doesn't seems to bother when email is sent.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.22.2
TAGS
AUG Leaders

Atlassian Community Events