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?
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
Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events