Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

API delete filter permission fails if there are unknown users in the permissions list

James Cole
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2024

I have an automated process that creates filters for teams.  From time to time users may be added or removed from those filters and the automation works just fine.

However if any user is "deleted" elsewhere, the filter permission remains with a type of user-unknown.

class JiraSharePermissionDto {
 id: 182920
 type: user-unknown
 user: null
 view: true
 edit: true
}
and any subsequent call to addFilterPermission or deleteFilterPermission on that filter fails:
errorMessages":["User: 'JIRAUSER60241' does not exist.","User: 'JIRAUSER60240' does not exist."...
the filter is frozen.  cannot add or delete permissions from it.
Any ideas?  besides deleting and re-creating the filter...

0 answers

Suggest an answer

Log in or Sign up to answer