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 API - Space in parameter returns duplicate child objects

Hi all

I have a URL with a space in a parameter (https://localjira.site.example/rest/insight/1.0/iql/objects?objectSchemaId=6&iql=objectType=%22Device%20Model%22) which I am using to attempt to return Insight objects. 

The resultant JSON array contains the expected number of items, but each item in the array is mostly a duplicate. 

If I run the same URL but use an objectType parameter value without a space (for example (https://localjira.site.example/rest/insight/1.0/iql/objects?objectSchemaId=6&iql=objectType=%22Manufacturer%22), the data comes back as expected.

Is there perhaps anything that I am doing wrong? Or is there a mechanism which has to be used to cater for spaces in parameters?

 

Thank you in advance.

1 answer

0 votes

Can you elaborate on what you mean by "each item in the array is mostly a duplicate"?

Perhaps provide some example of what you are getting and how it differs from what you expect?

I tested this scenario in my environment and the JSON appears correct in both cases. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.14.0
TAGS

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