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
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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

474 views 1 18
Join discussion

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