Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
3.0.1
-
3
-
Description
I've written a listener basing it off a 'standard' issue event listener from Atlassian. I've attached it (after filing the bug).
The listener calls a web listener running on somewhere else. There is no problem calling the external web listener.
The problem is that the event parameter routine 'getComment()' will return a null value if a comment is the only modification done to the issue.
I fully realize that my users could go and select 'add comment' under 'operations' while browsing the issue. However, my users are stupid and will more than likely select 'edit issue' and only add a comment.
Note: If a single field is modified in addition to adding an issue comment then the event.getComment() returns the new comment.
I've written my listener to log messages for every event call - the only event which is called after the issue is modified is 'issueUpdated'. issueCommented is not called unless the user selects 'add comment' under operations.
I can work around this by modifying the jsp file for edit issue and removing the lines which display the comment box. However, I would like to avoid this if possible.
-wc
Attachments
Issue Links
- duplicates
-
JRASERVER-9415 When doing an edit issue or a bulk edit and only adding a comment an IssueUpdated event is not thrown
- Closed
- was cloned as
-
JRASERVER-5022 CLONE - No Notification when comment is added via edit operation and no fields modified
- Closed