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 vote
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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

46 views 0 4
Read article

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