I am trying to lock a field so a specific group cannot edit the value.
Below is the setting I have configured but the Group is still able to edit the Issue Type field. What should I change so this field is locked?
It seems to work when testing on my end. Can you also send a screenshot of your current Mappings and ensure that the projects and issue-types that you are wanting this to apply to are mapped to the behaviour?
Here are a few screenshots of my settings. The plug in works for some fields (ie: Priority & Issue Status) but not all (ie: Issue Type & Labels).
For the Mapping, All Projects is selected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A few thoughts:
Your first condition seems to read "Issue type should be read-only when the current user is in the Hopkins CTE group." Same thing for priority in the later screenshot. What group is able to edit the field that you would expect to be unable to? Is it Hopkins CTE, or are your expecting something else?
On some screens, it makes sense that it wouldn't work for Issue Type, since Behaviours require a project / issue type combination in their definition. Now, you should be able to make issue type read only if you're on the regular edit screen, but the first screen where you choose product and issue type won't fire behaviours, I don't think. On the subsequent screen (the full create/edit view), you should be able to make the issue type read only, though.
In your screenshot of the behaviour's mapping, it looks like you don't have a project selected. You need to select at least one, or select "All" if this is for all projects.
Also, be aware of the known limitations of behaviours. Two may be germane in your case:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, there are some known limits for the label field:
https://productsupport.adaptavist.com/browse/SRJIRA-1080
If you're trying to set a default value, this won't work in the current release (5.0.1).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What group is able to edit the field that you would expect to be unable to? Is it Hopkins CTE, or are your expecting something else?
Hopkins CTE is able to edit the field, but they should not be allowed to do so.
On some screens, it makes sense that it wouldn't work for Issue Type, since Behaviours require a project / issue type combination in their definition.
Can it be made read-only when on the View Issue screen?
In your screenshot of the behaviour's mapping, it looks like you don't have a project selected. You need to select at least one, or select "All" if this is for all projects.
Sorry, when I did my screenshot of the mapping nothing was showing as selected, but a project was selected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.