ScriptRunner - CreatePage Plugin - Increment Variable

Matthias Born
Contributor
February 1, 2018

Hello Adaptavist!

In your documentation for create-page-macro is mentioned:

$increment - a number which increments each time a new page is created.

My question is: Depending on what?

Pages created from the page the create-page-macro occurs?

Well, I started with 3 different create-page-macros on the same page ;-(

I'd like an increment according to the label I set in the macro parameters.

Is there a way to implement this behaveour or perhaps you can add new macro option like

[ ] Count according to the label parameter.

And, as an afterthought:

  • "Increment starting from" (like $ident) and "increment format" (0000#) would be nice to ;-)
  • How can I reset the counter?

Regards!

Matthias

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events