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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.