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
4,294,516
Community Members
 
Community Events
165
Community Groups

Issue with issue commented event

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

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

Hello @Raynard Rhodes 

 

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

 

Thank you 

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

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you