Using proejct role for View is not working and Group returns an error screen

Hello,

This plugin would solve one of the most voted features and it is very much appreciated.

However, I cannot make it work. I tried adding one custom free text field and add the project roles I wish to view this field. I logged in with a user who only has one role not added for viewing and the user can still see this field.

Also when I try to add the same configuration using groups I get the following error:

<status>
<status-code>500</status-code>
<message>
com.atlassian.jira.security.groups.DefaultGroupManager.getGroup(Ljava/lang/String;)Lcom/opensymphony/user/Group;
</message>
</status>
I am using JIRA 5.0.6.
Thank you!

2 answers

1 accepted

Finally i found solution! Look at https://developer.atlassian.com/static/javadoc/jira/5.0.5/reference/com/atlassian/jira/security/groups/DefaultGroupManager.html#getGroup%28java.lang.String%29

Warning: previous incarnations of this method returned com.opensymphony.user.Group. This class has now been removed from the JIRA API, meaning that the 5.0 version is not binary or source compatible with earlier versions.

There was incompability with modern version of Jira. You can find stable code at https://github.com/DmitryMiroshnichenko/jira-mailru-cf-rights-management-plugin

Thanks for the update! Much appreciated.

Hi! I was testing this plugin mostly on 5.1.6. And now on 5.0.4 we faced this problem. I will fix it today or tomorrow. Also we have a lot of useful plugins. You can find them on https://marketplace.atlassian.com/vendors/37127 , all of our plugins are free. Occasionaly I don't have time to publish plugins on market, so actual sources and updates you can find on my page on github https://github.com/DmitryMiroshnichenko . Also Cf rights Manager supports great number of our customfields

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 Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

112 views 0 3
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