Hi,
I have restricted few custom fields from edit using scriptrunner. But now I can see that from list view users can still edit the custom field.
How can we restrict users to edit the custom field in List view.
Thanks,
We need a automation that can revert the value if it is modified by a user who is not present in a specific group.
Are you familiar with how to construct Automation Rules?
Documentation: https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/
On-demand, free training: https://university.atlassian.com/student/catalog/list?search=jira+automation
What is the field type of the custom field?
The basic structure would be:
Use the Field Value Changed trigger to monitor the field of interest.
Add a User Condition to check if the User who trigger the event is in a specified group.
Use an Edit Issue action to reset the field value to what it was before the change.
When you use the Field Value Changed trigger that gives you access to smart values that you can use the find out what the field value was before it was changed.
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange--
I recommend that you contact Adaptavist support about this.
I suspect that either Atlassian doesn't provide a method for them to affect the List view, or Adaptavist hasn't had time to implement functionality for that (if Atlassian does provide a method).
You could get confirmation on which is the case by contacting Adaptavist directly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why are not removing those fields from the edit screen t avoid any modifications from the users ?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Cyrille Martin
This field we have enabled for editing for few users through group. So script in scriptrunner only allow users in a particular group to edit this custom field.
Hope it make sense why we cant remove it from edit screen.
Looking for some suggestion/workaround to resolve this issue.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think that's possible. UI modifications API still doesn't support ListView, so it won't work in it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Maciej Dudziak _Forgappify_
We need a automation that can revert the value if it is modified by a user who is not present in a specific group.
Can you help me on this automation as a workaround.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.