Hi
I use the option "Create Page in Confluence" from Jira Automation.
How in now get the description from the Jira Issue into a Confluence Template/Page
It only have to do this ones. No active connection
Hello @Ruud Ravensbergen
Can you tell us more about how your workflow is set up and your need exactly?
If you want to publish Jira issues to Confluence easily (with post-functions integrated in Jira Automation if needed), our app Publish can help you with that, with synchronization or not. You can try it for free!
Glad to help with your automation anyway. Let me know.
Regards
I start with a "manual trigger" then I check if it is an epic with "issue type".
The next step is "Create Page in Confluence" in which the title is
"{{triggerissue.summary}} ({{triggerissue.key}})"
Complete the right "space" and the right "parent" page.
At "Template" I refer to an existing confluence template.
The last step is to log the script
This action is performed by the PO if a new epic is put on our board. We work Agile Safe and the epics are created by others. We as a team want our information that is needed for working on the Epic in Confluence. To make it simple, a script seemed to be great to create a confluence page and then copy the "description" to that page.
Everything works but I don't get the "description" on the Colluence page
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok I understand.
I'm afraid you can't do that but through REST API by sending web request, it definitely won't be easy.
If you want to do that just by configuring a recipe and adding it to your Jira Automation, I suggest to try our app, it will save you great time an effort. For example you can:
Let me know if you have any question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also tried that. But not a success.
I used this code. No page is made.
The error {"statusCode":500,"message":"com.fasterxml.jackson.core.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value\n at [Source: (com.atlassian.plugins.rest.common.limitrequest.jersey.LimitingRequestFilter$1); line: 8, column: 32]"} is returned
But I can not find the problem there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruud,
I am in the same situation as you, have you managed to find a way to automate the process?
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.
I managed to make it work like this, it will create a page on the top level of your space, no parent added in this code:
{
"type": "page",
"title": "{{issue.key}}: {{issue.summary}}",
"space": {
"key": "XX"
},
"body": {
"storage": {
"value": "{{issue.description.htmlEncode}}",
"representation": "storage"
}
}
}
You have to add .htmlEncode at the description to be able to have spaces between description rows.
https://yoursite.atlassian.net/wiki/rest/api/content/
Headers section needs:
Key: Authorization
Value: Basic YourConvertedUser+APIKeyto64BaseString
Ex: youremail+api to 64Base
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.