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

0 votes
Accepted answer

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
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

322 views 0 1
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