The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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": {}
}
Question:
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.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events