Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error in jira automation: Link a confluence page to a jira issue

Victor Rivero
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2024

I have a Jira automation when I create an issue it creates a confluence page and links it to the issue using a send web request action like this: 

url: https://your-site.atlassian.net/rest/confluenceIssueLink/1/confluence?issueId={{issue.id}}&pageUrl={{createdPage.url}}

HTTP method: POST

Web request body: empty

header: Authorization: Basic <my 64-base encoded api key>

This works fine, but when i want to change the automation trigger from create issue to manual trigger from issue i get this error: 

Send web request
Error publishing web request. Response HTTP status:
400
Error response HTTP body:
{"errorMessages":[],"errors":{"pageUrl":"addconfluencelink.error.url.invalid"}}

can someone help me to see what can i do to do this from a manual trigger? thank you!

1 answer

0 votes
Victor Rivero
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 22, 2024

yes sorry, this is the automation that works fine:

Captura de pantalla 2024-05-22 a las 4.19.00 p. m..jpg

but in this case i want to start with a manual trigger instead of issue created, and i change that without changing anything else and i get this error: Send web request
Error publishing web request. Response HTTP status:
400
Error response HTTP body:
{"errorMessages":[],"errors":{"pageUrl":"addconfluencelink.error.url.invalid"}}

 

Suggest an answer

Log in or Sign up to answer