In case we have a template in confluence and want to create the page using the template then how should the template be passed in the API call?
Also how can I copy the URL of the page inside the JIRA ticket(maybe in description)? so that user can access the page directly from JIRA after it is created.
Thanks:)
I was able to figure this out. You need to pass the template as an inline xml within html inside pageBody parameter. It worked for me. I wish there was a structured way of doing this but this is working for me as of now !
Can you post your example code man?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For me it's a huge line of code, maybe you can mention where you are stuck or need help.
This documentation is helpful.
[link|https://scriptrunner.adaptavist.com/latest/jira/interacting-with-confluence-from-jira.html]
BR,
Bhupesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
How do you copy a huge storage format to run by scriptrunner?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I run the code from script console, the output is coming as null and not creating confluence page.
So, could u please tell me where i am doing wrong?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bhupesh Nagda, can you post your solutions here please, for the sake of other people.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhupesh
We launched a new app that allows you to create pages from templates through Jira Workflow post-function and store the Confluence page in a Jira customfield to apply more actions like:
Workflow postfuntions
Workflow conditions
And so much more.
Please give it a try, I believe it would streamline alot of repeated effort on your team
Jira Confluence Workflow Extensions (JCWE)
Give it a try I am confident you'll love it.
If you have any inquires or requests please drop me an email at admin@innovura.io
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hell Bhupesh!
You sir, need to look at our documentation!
As you can see this is covered in this article!
Hope that read helps you out. If it doesn't, let me know.
Cheers!
DYelamos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Daniel Yelamos [Adaptavist]
I was able to create a basic page from the article listed by you.
Can you please tell me how to create a page from a template ?
Regards
Abrar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @ABRAR ALI
How you were able to create a confluence page through that article, i am getting an error in script console when I run the code?
could u please tell me from where we should execute the code ?
Thanks.
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.