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

This widget could not be displayed.

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!!

This widget could not be displayed.

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

This widget could not be displayed.
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.

This widget could not be displayed.

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?.

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted yesterday in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

61 views 2 3
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