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

Efi Bagourdi March 7, 2013

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
Answer accepted
Dmitry Miroshnichenko
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2013

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

Efi Bagourdi June 17, 2013

Thanks for the update! Much appreciated.

0 votes
Dmitry Miroshnichenko
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2013

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
TAGS
AUG Leaders

Atlassian Community Events