Hello dear community,
as mentioned in the headline, I would like to automatically create a subpage in Confluence under the main page "Tracking" when creating an issue in Jira. Unfortunately, I get the HTTP code 302 and no page is created.
Thank you very much for your help!
Web request data in the jira rule:
Webhook: https://confluence.page/link/to/project
Header:
Custom data:
{
   "type": "page",
   "title": "{{issue.created}} {{issue.summary}}",
   "space": {
      "key": "<key>"
   },
   "ancestors": [
      {
         "id": "<id>",
         "type": "page"
      }
   ],
   "body": {
      "storage": {
         "value": "<p>Dies ist die Subpage für {{issue.key}} <p/>",
         "representation": "storage"
      }
   }
}
Perhaps an addition:
I have tried to insert various inputs in the authorization header and received the following responses:
The forwarding of the HTTP code 302 redirects to the Login Page (/confluence/login.action?). Perhaps as a note it is a self-hosted environment.
I am grateful for any advice!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
 
 
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.