Listener is not firing comment event when issue is updated from jira Edit screen. Any workaround?

Hi All,

I have an Issue Listener implemented as a type2 plugin.

Inside Jira, If i comment& update an issue using issue edit screen, this listener fires issue updated but not commented.

If i comment & update an issue using issue resolve screen, this listener fires issue updated as wellas issue commented.

Could we have any work around here so that I could handle both comment and update in issue edit screen?

5 answers

Thanks Tibor for quick reply.

I did try it. However there is a problem there when i extract comment and process an action in issue updated event.

whats the problem?In Issue resolved screen, both issue comemnted and issue updated events are fired. Now my issue comment action is getting invoked twice!!

Hi,

JIRA does thrown both events when you enter a comment in the edit screen, however the comment is sent along the Issue Updated event in the IssueEvent object.

You can extract and process it in your event listener.

Tibor

0 votes
Timothy Chin Community Champion May 13, 2013

Did you an update to an issue in your listener? If yes, you must make sure that it does not trigger an event.

Hi Timothy,

Didnt quite get you here. Can you help me out..

"you must make sure that it does not trigger an event." How can i ensure that an event is not fired when update happens?.

Hi Timothy,

Didnt quite get you here. Can you help me out..

"you must make sure that it does not trigger an event." How can i ensure that an event is not fired when update happens?.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,797 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot