Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Hello guys. I want to access the installed insight app in jira through REST api. How do I do that?

Like for accessing Jira issues I use the following: (smart-app is my cloud instance name). So, for fetching from Insights which is installed as an app Jira, what cloud instance name should be added prior to /rest/insight/1.0/object/ISCG-4? Also, should I use basic authentication? and use same email id as jira and use generate the access token for insights?

1 answer

Hello @Subhodeep Das

welcome to the community!

To be able to use the API, first you need to generate your personal access token.

Then this token you will use in the Authorization header (Bearer token) of your requests.

To obtain data for specific object, you need to send GET request to URL:

(see here - section Load)

Hello @Hana Kučerová Thank you so much for your help. I appreciate it. Do you also know the curl command for the same?

Hana Kučerová Community Leader Oct 31, 2020

Hi @Subhodeep Das

please try something like this (xxxxx needs to be replaced by your token):

curl '' -H 'Authorization: Bearer xxxxx' -H 'Accept: application/json'

@Hana Kučerová Thank you so much for your help. It is working now. I was using a ${} after bearer and so it was not working before. Just one last question for now. Right now we are fetching the data with object key. Is there any way, we can fetch this data using the object label instead of key? Thanks a ton. For all your help. I really appreciate it. :-)

Hana Kučerová Community Leader Nov 03, 2020

Hi @Subhodeep Das ,

I think it is possible, you just need to provide appropriate IQL and search for the object. 

(see here - section Find objects).


Does this solution still working?

In my jira cloud instance, Insight lacks user token generation option. I've created a token from atlassian account.

Making cUrl to I get HTTP 401 with header Authorization: Bearer <mytoken>

Hi @Hana Kučerová

I just read your answer in this post and it has fixed my issues with a 404.  I am on the cloud instance of Jira and I was using <my company>atlassian,net rather than  Thank you so much!



Like Hana Kučerová likes this
Hana Kučerová Community Leader Oct 13, 2021

Hi @Nicholas Mitchell , I'm happy to help. Have a nice day!

Suggest an answer

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

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

638 views 5 12
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