I am using Behaviours plug-in. I have added a new behaviour to make custom fields read-only when the user is not the reporter.

But, when i log in as a different user, to test if it was working, and i click on an issue, i can still find the edit option when i hover over a custom field. And i can still edit the data.

4 answers

  1. Make sure you have that different user does not have the same permissions in the permission scheme as you.
  2. Also check the project roles which should be defined in permission schemes as well.

 

I created a Behaviour so that only the Reporter can edit the data once issue is created.

I have used Read-only, Except when User is reporter.

Yet, when i login as another user with Adminstrative privileges, i am able to edit it.
If the behaviour is working it should not allow anyone else to edit right.
 

And the other weird thing i noticed is, when i login as another user and click on an issue, i can hover and see the edit symbol and if i click on it i can edit the data.

But if i click on the edit which is in the top left in the menu, it opens the issue and there the fields are grayed out  and the behaviour is working properly. Then when i make no changes and close it, I do not find the edit symbol even if i hover over the fields and it says inline edit is disabled. So, then it is working as i intended it to.

But, if i refresh the page, it is back to normal and i can edit data.

is it a Bug ??

 

I can upload the screenshots if that will help.

0 vote

Please use the correct tags.

0 vote

What version are you using, an issue like this was fixed recently.

JIRA v6.3.6a Script Runner Version: 3.0.6 I think i am using the latest Version of the Plugin. Please Advise.

the mouse over hover should be disabled. All browsers or one in particular?

I am using Chrome to create the issue and using Mozilla Firefox to login as a different user.

I just tried it again using the same browser. And i can still see the mouse over hover edit.

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 Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

89 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