Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,257,440
Community Members
 
Community Events
164
Community Groups

Hello guys. Can we fetch info of an object from insight using REST api but using it's label/name?

Hello everyone. I am using Insights as an app in Jira. I can fetch objects or info on object from the following endpoint: https://insight-api.riada.io/rest/insight/1.0/object/<id> But here we can retriece info about an object by using only its unique key. My question is can we get info about an object using the label or name of the object instead of the key using REST api like above? Please let me know. Thanks a lot in advance.

1 answer

0 votes

Hello,

If you don't have the ID of the Object, then you can use advanced search API call via /rest/insight/1.0/object/navlist/iql

You will find a JSON example on following page in Find objects (Advanced) section: https://documentation.mindville.com/display/INSCLOUD/REST+API+-+Objects

 

IQL is the Insight Query Language which will help you to find the Objects by filtering according to their attributes (label/name etc.). For more details please refer to: https://documentation.mindville.com/display/INSCLOUD/IQL

 

Best Regards,

Hakan Bahadir

Solutions Engineer

Hi @Hakan Bahadir 

Possibly let us know what happened to Cloud API documentation for Insight? The link https://documentation.mindville.com/display/INSCLOUD/REST+API+-+Objects opens "Insight Apps" Atlassian Support page, and searching for API gives no results.  https://confluence.atlassian.com/search/?query=API&productName=Atlassian+Support&productVersion=Cloud

Cheers
Marcin

Like Daniel Zorab likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Safe customer notifications in Jira Service Management for compliance and privacy needs

Announcing safe customer notifications in Jira Service Management as a building block for compliance and privacy needs At Atlassian, we understand the increasing need to be assured that your data i...

375 views 1 14
Read article

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