We have an object type called "User". One of the attributes on this object type is called "Work place". The value of this attribute should be maintained (selected) by the user itself. None of the others attributes should be editable by these users. Also, the user should only be able to edit the object representing the current user.
I.E. Tom Bombadil should only be allowed to edit the object the attribute "Workplace" on object "Tom Bombadil" etc., and not the object "Slart I. Bartfast".
(The "User" object type have another attribute that is mapped to the Jira user. The attribute "Work place" is a reference to another object type consisting of all the work places in our organization.)
I think achieving this restriction is not possible within Insight itself.
But maybe I could have a request in the Jira Service Desk Portal containing the Insight Custom Field "Work place", where the user would pick his work place from the list, and then having a post function to update the object of the current user?
Or is there another way maybe?
Hi Johannes.
As you noted, Insight by itself does not yet support Attribute Permissions, only Object Type level permissions.
We do have several Feature Requests which you can vote on - to have these Permissions.
As for the use of Postfunction - yes, this should work:
Please let us know if you require additional information.
Kind regards,
Yinon
Team Riada
This works perfect, and no scripting required:)
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
These links no longer work. I want to do something similar. https://community.atlassian.com/t5/Jira-Service-Management/Best-way-to-let-users-edit-certain-attributes-for-objects-in/qaq-p/2099366#M111620
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to do what I described above; having a request presenting the user with a drop down list of "Work place" (Insight custom field), and then running an Insight post function setting the chosen "Work place" as the new attribute value on the curent user, but I can not make it work.
I am using this script as basis:
Which of the Insight post functions should I use?
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.