I have a JIRA Webitem at the System Adminstration section.
On the Page, I wanted to display the list of Confluence Global Template.
Since there is no REST API's for fetching the global templates, Is there a method to fetch the global templates by using application links java object?
Hi - it looks like there is a REST API in Confluence Cloud to retrieve the global templates: Get blueprint templates
Please let me know if that is helpful for your case.
If you are using Server, the API isn't documented:
Confluence REST API Documentation
But it looks like some versions have had an experimental API you can use:
how i can get confluence templates via rest api
Thanks for Reply @AnnWorley.
Since I am using confluence version 5.6.5, i couldn't get the API. And also it is experimental, which I am not comfortable to use it.
Is there any Templates Related JAVA Class/interface/Methods, that i can use to get all the Global Templates?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I understand you would like to know how to use JAVA resources to display a list of Confluence page templates in Jira. You are using Confluence 5.6.5 and are not interested in an experimental API.
I have not forgotten our thread, am following up with some developers internally but most of them are in APAC and it is a slow time of year, so it is taking a while. Thanks for your patience.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@arunkThe answer I got was that you would need to write a plugin for Confluence that provided the API then use the API in Jira. You may use:
@ComponentImport com.atlassian.confluence.pages.templates.PageTemplateManager
to obtain the list of templates (global or space).
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.