I'm trying to use a Jira automation rule to create a new Confluence page whenever a task is created in a specific project.
There's an answer here that indicates it can be done via a web request.
I've set up my rule and am testing it using the Validate Your Webhook Configuration at the bottom of the rule. I keep getting this error response:
I'm sending the Authorization header correctly, as far as I know; the blurred value is the base64 encoding of my account's email address:my API token.
If I just paste that URL into my browser, I get the expected json response of page data, so why is it not working via the webhook? I am a site-admin for both Jira and Confluence and have admin access to the space I'm trying to create the page in.
Hi @Esther Strom ,
I was able to make this work using Automation and Send web request action. My configuration is the same. I believe Authorization header is ok, but error 401 indicates, there's something wrong with the authorization process.
Please, did you try to use another user / send another request type, if the error is the same?
Thanks for the reply, Hana. We use Atlassian Access with SSO, so it's not really possible for me to try another user without actually getting another real user to create a token that they then share with me.
I'm wondering if it's ignoring the Authorization header and running as the Jira automation user.
UPDATE: I tried a different base64 encoding tool and it gave me a completely different string. Tried the new string and it worked. Not sure what happened with the first one.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event