The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Subhodeep Das
November 2, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Hakan Bahadir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 5, 2020

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

Marcin Kubica
January 28, 2022

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
TAGS
AUG Leaders

Atlassian Community Events