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?
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?.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you an update to an issue in your listener? If yes, you must make sure that it does not trigger an event.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.