Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 comment

Laura Campbell _Seibert Group_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 21, 2024

Hi @Victor Rivero and welcome to Community!

I don't know if I'll be able to solve your problem, but to make it easier for other Community members to help you, could you provide screen captures of your Automation rule and the audit log? You can blur out sensitive information as needed.

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"}}

 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events