Webhook rich text parsing (description, comments, etc..)

Romain Viallard___ May 31, 2021

Hey,

I'm currently trying to handle issue updates through webhooks in order to avoid needlessly hammering the REST api. I have an issue where the content of rich text fields like the description of the body of comments sent in the webhooks doesn't match what is sent through the cloud API.

On the cloud API side, we have a document described here https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/

On the webhooks side, we seem to have wiki markup as described here https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all

The wiki markup doesn't always contain enough data to be able to transform it into the json document. For example, pictures are sent with a filename and some attributes in the webhooks whereas we get the identifier of the media in the json api.

Is there any way to reconcile those or is the only way around this to also fetch data from the JSON api when receiving a webhook ?

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events