Hi Team,
Actually, I want to do the automation for adding the templates using REST Api. So, is Atlassian provide any rest Api so that I can add the custom templates and default templates. If anyone know please help me on this.
What templates are you referring to, space templates?
Os you can create a space based on a template?
You would first have to create a template and then you can use this, but this is a premium subscription function.
And only for custom templates
Hi @Marc -Devoteam-
Thanks For replying but when I have tried this then I am getting below error. Can you help me on this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you create a template from an existing project, you need to be on an enterprise subscription to use this feature
This is a mandatory action, to use this API endpoint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Yes, I am using Jira Cloud Enterprise, and I am testing this with a site admin account.I understand that this API is intended to be used after creating a custom project template from an existing project (UI: Project settings → Save as template).
Whether the template must already exist (created via UI) before this endpoint can be used
My confusion is around the request payload requirements for POST API Even with Enterprise access, the API returns error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In my knowledge you need to provide all details as in the example in the call, I don't think you can leave out scheme options.
For default projects, see API endpoint; https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-post
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.