"atlassian-plugin.xml" same weight

Hello, I try to write websection in "atlassian-plugin.xml" with the same weight that already exist, but I get an error.

I tried to run without making any changes. I only create a new section and two item in her.

I have two sections (section1, section2) with same weight = 100. If I set section1.weight = 110 then OK.
but if both weight = 100 or both weight = 115 or another same numbers then i have error like on screenshot.

Was the question https://support.atlassian.com/browse/CSP-121505, and I was sent problem to you.

1 answer

1 vote

The weight determines the relative order of sections which means they must be unique. Equal weights is nonsense because you are effectively saying you want the items to occupy the same space. The fix here is to use it as intended - with different weights

OK, but in the future, I want to create about 500 sections with an identical weight, on future it will be possible to eliminate it? :-)

Er, did you read my original answer?

Thank you! For assistance you can close the question!

To "close" a question, mark an answer as correct - look for the tick to the left of the avatar of the person who posted the answer

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in Off-topic

Friday Fun: Dry T-Shirt Competition - What's your BEST (Atlassian) T-Shirt!?

[Note: So it was my turn for Friday Fun and sadly I was sick thanks to rubbish sinus infection... so apologies to most of Europe and Asia for the delayed post. However, I finally got out of bed for t...

157 views 9 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you