Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,644,562
Community Members
 
Community Events
196
Community Groups

ScriptRunner - CreatePage Plugin - Increment Variable

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