I can create blank pages on confluence automatically but I want to add one extra feature and that is creation of pages based on specific template (that we are creating in confluence while creating the space). Do we have any such parameters in REMOTE PAGE CLASS.
def page = new RemotePage (
content:" ",
creator: "admin",
title:issue.getCustomFieldValue(cf),
space: "MicrosoftDescriptive",
homePage: false,
created: Calendar.getInstance(),
modifier: "admin",
version: 1,
modified: Calendar.getInstance(),
)
Where can I add the template? If its possible?
There is a setContent(String) method - have you tried that?
In fact I can see content:"" in the hash you are passing - just add some content to that string.
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.