getting Confluence Content link from webhookResponse, to create a link.

Cyrus Theophilos Grimes December 7, 2020

So I can create a page in confluence with Jira automation, but I cannot seem to be able to retrieve and construct a link to the page after it is created. I'm storing the link in a custom field. It seems like I should be able to, the information is in the WebhookResponse _links section. unfortunately, I cannot seem to be able to pull that in? is there a trick to this?

1 answer

0 votes
Cyrus Theophilos Grimes December 7, 2020

Ended up with a workaround, constructing the link using

https://your-domain.atlassian.net/wiki/spaces/NPI/pages/{{webhookResponse.body.id}}/{{#urlEncode}}"title data"{{/}} 

Suggest an answer

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

Atlassian Community Events