Is there a way to create a confluence page from an existing template in the confluence and the post function is from JIRA?
Hi @Ollie Guan, please have a look at link. It contains sulotion on creating a template from api.
It works :)
Thank you for your offer!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nothing
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.
@Ollie, I tried the first link, I made it to work as a post function. Now the problem is we have an existing template and I want to use that. There is no documentation that is pointing to any parameters I need to add to create a page using my custom template.
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.
Hi @brbojorque,
Sorry for the late , I have not implemented similar functions, but from the instructions in the help document, you can try changing Type to your custom template name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have a successful configuration method, please also share it with me. I am very interested in it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, it doesn't work.
This is the error i get.
java.lang.Exception: {"statusCode":500,"message":"java.lang.IllegalArgumentException: No ContentTypeBinding found for type: testtemplate","reason":"Internal Server Error"} at Script39$1.handle(Script39.groovy:69) at com.atlassian.applinks.oauth.auth.OAuthResponseHandler.handle(OAuthResponseHandler.java:44) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$1.handle(JerseyRequest.java:115) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$1.handle(JerseyRequest.java:113) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:134) at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:104) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:131) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.execute(JerseyRequest.java:113) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:47) at com.atlassian.applinks.oauth.auth.OAuthRequest.execute(OAuthRequest.java:71) at com.atlassian.sal.api.net.Request$execute$1.call(Unknown Source) at Script39.run(Script39.groovy:65)
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.