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:
- Content-Type: application/jason
- Authorization: Bearer <token>
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"
}
}
}