"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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Agile

What is ChatOps? A guide to its evolution, adoption, and significance

I am the product of AIM. I can hear that door swinging open and closed in my mind with absolute fidelity. I’d recognize that ding anywhere. At 15, as I typed away into AOL IM, I never imagined that ...

26 views 1 5
Read article

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