Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

createBlog(spaceKey, blogTitle, blogContent)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Creates a blog based on the provided arguments.

Creates a blog based on the provided arguments.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

spaceKey

...

String

Yes

Key of space to create the new blog in.

blogTitle

...

String

Yes

Title of the new blog.

blogContent

...

String

Yes

Content to be displayed on the new blog.

Return

...

Type

number

The blogID of the newly created blog.

Example

Code Block
languagejs
string spaceKey = "PSCONF";
string blogTitle = "New BlogPost";
string blogContent = "<p>This blog was created by Power Scripts!<p>";

number newBlog = createBlog(spaceKey, blogTitle, blogContent);

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "psblog_conf"routines" and space = currentSpace ( )
labelsjiraarray_comment_routineroutines