Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Parse jira webhook event json payload to equivalent java pojoa(bean)

Hello Team,

We are receiving jira webhook event json payload as a string fine into a spring rest POST api whenever the jira issue is updated/comments are added etc..

The webhook event payload json structure looks like this :

"timestamp": 1652131581761,
"webhookEvent": "jira:issue_updated",
"issue_event_type_name": "issue_generic",
"user": {},
"issue": {},
"changelog": {}



a) how can we parse/convert this json string to java object(bean), i am assuming there are some existing jira java bean class(pojo) package provided by jira itself which can be used here.But i am not sure the class name.

Our Jira version seems to be as follows : v8.16.1

Could you please suggest and share sample code to parse the entire json payload to java bean ? This will help us to read the payload effectively.




0 answers

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you