It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

web-section condition fails with classnotfoundexception

Hello, I want to use a condition for the web-section inside a jira plugin.

But when I add

<condition class="com.atlassian.jira.plugin.webfragment.conditions.JiraGlobalPermissionCondition">
    <param name="permission">admin</param>
</condition>

I get an Caused by: java.lang.ClassNotFoundException: com.atlassian.jira.plugin.webfragment.conditions.JiraGlobalPermissionCondition

 

Can anyone help?

kind regards

Chris

1 answer

0 votes

Hello,

Try to uncomment the jira-core dependency in your pom.xml and reimport all dependenciey

Hello,

no this doesn't work and it is a little bit confusing that the class com.atlassian.jira.plugin.webfragment.conditions.JiraGlobalPermissionCondition is located in jira-api and in jira-core. :o

Hello, Christian.

Did you find any solution?

Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you