You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am trying to create page from template using powershell in yaml pipeline.
This is my code:
Yeah @Grzegorz Ostrowski
I'm afraid this is not yet supported for Cloud
Here's the reference for the feature request
https://jira.atlassian.com/browse/CONFCLOUD-11393
Let me know if you have any queries
Thanks,
Pramodh
Thanks for reply.
So it is not possible to get project template using powershell?
I dont wont to create page from template in one API method. I want only to get project template using API method GET /wiki/rest/api/template/{contentTemplateId}
I am able to get full json template using SopaUI or postman, why powershell returns me nearly empty json with 200 response. I use powershell in jira and confluence API to add Attachments and Pages with success, but why I cant get template through API?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this API
GET /wiki/rest/api/template/blueprint
With the above API you should be able to get all the templates
GET /wiki/rest/api/template/{contentTemplateId} - this one is for templates which you have built.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am sorry for your trouble.
It was my simple mistake with powershell object.
But thanks for your reply
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.