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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

82 views 0 5
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