Comments in Issue Updated Event

Hi Everyone,

I want to ask.. how can i catch latests comments added by user, but the comment must be written by using "Edit" button so it trigger issue updated event..

I tried to observe changes by using

ChangeHistoryManager historyManager = ComponentAccessor.getChangeHistoryManager();

but there is no luck :(

Please Help Me. Thanks.

2 answers

1 accepted

0 vote
Henning Tietgens Community Champion Dec 17, 2013

The comment which was entered during the action that triggered the event can be read like this:

String commentBody = event.getComment().getBody();

Thank you Henning. It resolved my problem.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted an hour ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

10 views 0 2
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