"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

This widget could not be displayed.

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 Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

53 views 0 0
View post

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