Forums

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

Not work link for documentation about Insight RESt API

Микола Хуткий
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2021

4 answers

1 vote
Wim Abts
Contributor
September 13, 2021 edited

Hi @Angélica Luz , 

Any idea yet when the full documentation is going to be back online?

We're just starting with Insight and really need it...

Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 15, 2021

Hi @Wim Abts

Thanks for reaching out to Community!

There are no updates regarding the documentation.

We found a documentation that is related to the Insight app:

- Insight for Jira Data Center and Server 

Once we have updates, we will post here.

Kind regards,
Angélica

1 vote
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2021

Hello @Микола Хуткий and @Pekao S_A_,

Welcome to the Atlassian Community!

We are checking internally if there are any updates about when the documentation will be back online. 

For now, only the API documentation for Insight Cloud is available:

Once we have an update from the Server documentation, we will share it here.

Kind regards,
Angélica

Julia Gracia September 10, 2021

All the info about rest api calls and groovy examples are missing ...

0 votes
Julia Gracia September 10, 2021

Hi every one,
I found this info I hope it is useful.

 

Insight REST-API

This is the reference document for the REST-API and resources provided by Insight. The REST-APIs are for developers who want to integrate Insight with other standalone or web applications, and administrators who want to script interactions with Insight on the JIRA server. Because the REST API is based on open standards, you can use any web development language to access the API.

Structure of the REST URIs

Insight REST-API provides access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The Insight REST API uses JSON as its communication format, and the standard HTTP methods like GET, PUT, POST and DELETE (see API descriptions below for which methods are available for each resource). URIs for Insight REST API resource have the following structure:

http://host:port/context/rest/insight/api-version/resource-name

The API version is 1.0

Authentication

Any authentication that works against JIRA will work against the Insight REST API.

Content Type

Don't forget to use "Content-Type: application/json" in http header when sending data to the Insight REST-API's.

 

The api callshttps://insight-javadoc.riada.io/insight-javadoc-8.6/insight-rest/#objectattribute 

 

Jira api with Insight

Create Issue

URI:   /rest/api/2/issue

As you can see below, you will have to use the key attribute to define the Insight object keys, when creating Issues with Insight custom field values.

{
    "fields": {
       "project":
       {
          "key": "TEST"
       },
       "summary": "REST ye merry gentlemen.",
       "description": "Creating of an issue using project keys and issue type names using the REST API",
       "issuetype": {
          "name": "Task"
       },
       "customfield_10100" : [{"key" : "TEST-1"}],
       "customfield_10200" : [{"key" : "TEST-1"}, {"key" : "TEST-2"}]
   }
}

Update issue

URI:  /rest/api/2/issue/[issueKey]

This is an example of setting an Insight object to a specific Insight custom field. Use the attribute set to define the Insight object keys

{
    "update" : {
        "customfield_10200" : [{"set": [{"key" : "TEST-1"}]}]
    }
}

 

This is an example of adding an Insight object to the existing connected ones. Use the attribute add to define the Insight object keys

{
    "update" : {
        "customfield_10200" : [{"add": [{"key" : "TEST-2"},{"key" : "TEST-3"}]}]
    }
}

 

This is an example of removing an Insight object from the existing connected ones. Use the attribute remove to define the Insight object keys

{
    "update" : {
        "customfield_10200" : [{"remove": [{"key" : "TEST-2"}]}]
    }
}

 

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2021

It looks like Atlassian have dropped the old mindville servers from when they acquired Insight, and not relocated the documentation in a visible place yet.

We'll need Atlassian to get the servers back up, or give us a new place they've moved the docs to.  

I'll go ask :-)

Pekao S_A_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 7, 2021

@Nic Brough -Adaptavist- @Микола Хуткий  Any new information about this ?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 7, 2021

I think @Angélica Luz beat us to it as usual :-)

Like Angélica Luz likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events