Hi,
I'm using a custom API call to add Sharing permissions to an issue.
URL: issue/share
Method: PUT
Query String: accessorObjCode = GROUP, coreAction = EDIT, accessorID = 63ae2a......., ID = 63g.........
This is working fine. What I'm struggling with is checking to see if the needed Sharing already exists on the Issue. Is it possible?
I've tried getting the accessorIDs but not sure how to get what permission is applied.
I've also tried getting the accessRules, but that got me nowhere.
Any help is greatly appreciated.
thanks,
Kelly
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Kelly_StarzEnt,
You can access Issue access rules by using advanced options when searching for Issues. First you have to map collections by using this
accessRules:*
Please check this screenshot
Once you do this you will have an output similar to this
You get an array of all of the actions certain users can do, from here you can aggregate rules (core actions they can do) per user and then do the actions you want with the information that you get.
Hopefully this helps.
Best regards,
Ivan
Hi @Kelly_StarzEnt,
You can access Issue access rules by using advanced options when searching for Issues. First you have to map collections by using this
accessRules:*
Please check this screenshot
Once you do this you will have an output similar to this
You get an array of all of the actions certain users can do, from here you can aggregate rules (core actions they can do) per user and then do the actions you want with the information that you get.
Hopefully this helps.
Best regards,
Ivan
This worked. Thanks, Ivan.
Views
Replies
Total Likes