How to create Web Item with WebFragmentBuilder ?

Amine Mekki April 29, 2021

Hi all,
I’m trying to create a new web item with the WebFragmentBuilder but it doesn’t work.
here is my code :
new WebFragmentBuilder(“web-item-key”, 20).id(“web-item-id”).label(“web-item-label”).title(“web-item-title”).webItem(“section”).url(“url”).build();

Any suggestion ?

1 answer

0 votes
Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 1, 2021

Hi @Amine Mekki 

I do not fond anything wrong in your code. Are those values in the quotes correct?

For instance "section", this is the most tricky part, you should use the exact location which are described here: https://developer.atlassian.com/server/jira/platform/administration-ui-locations/

Suggest an answer

Log in or Sign up to answer