Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Insight User Attribute

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

1 answer

1 accepted

0 votes
Answer accepted

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

Thanks i will try this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.16
TAGS
Community showcase
Asked in Jira Service Management

JSM June ask me anything (AMA)

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...

418 views 24 14
View question

Community Events

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

Events near you