Hi
We have an object that contains an Attribute that is of the type User
We set this attribute using the REST API and we get the following error
[[errorMessages:[], errors:[rlabs-insight-attribute-372:User(s) (p950wes) not found in Jira]]]
The user p950ews is a valid user and has access to JIRA.
Question I have is where does Insight get the list of AD groups to check the value of this attribute? When we look at the Insight UI we get a list of 10 AD groups but none of these contain the user we are failing to set. We see this error with a number of users.
So where is this list of AD groups taken from and how is it configured?
/Steve
I don't think insight looks at AD groups ... it look at Jira groups.
But reading the documentation: https://insight-javadoc.riada.io/insight-javadoc-8.6/insight-rest/#object__id__put
The API expects the User's userKey ... not the user's username.
The key is something like JIRAUSER12345 in recent jira versions (they used to be the same).
You might need to call the /rest/api/2/user?username=p950wes to get the correct key
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.