How to fetch the JSON Object

Caution

The examples mentioned here are explained on the following page → How to fetch data from Mindville´s Insight

StepDescriptionExampleInfo
1Navigate to Insight, open your object scheme and in here search for the object you want to access through your issues custom field. You can see the ID in the URL

Alternatively you can open your object from your Jira issue directly. Click on the object within your Jira issue and in the pop up click on the key displayed.

2

With the ID, open the following URL in a new browser tab, while replacing the two variables.

https://<YOUR-JIRA-SERVER>/rest/insight/1.0/object/<YOUR-INSIGHT-OBJECT-ID>

If you got a big unreadable block of text and use google chrome take a look at this extension or use a rest client like postman
3

You will get something like the following

A brief overview of the JSON Syntax

Object { }

List [ , ]

Separate several elements with ,

Attribute : Value


This code inherits all nessesary information about the Insight Object. So you can find all information you want to fetch from the Object.

{
	id: 12,
	label: "GN-PC-1265",
	objectKey: "RCI-12",
	avatar: {},
	objectType: {
		id: 38,
		name: "Notebook",
		type: 0,
		icon: {},
		position: 0,
		created: "26/May/20 11:41 AM",
		updated: "26/May/20 11:41 AM",
		objectCount: 0,
		objectSchemaId: 5,
		inherited: false,
		abstractObjectType: false,
		parentObjectTypeInherited: false
	},
	created: "26/May/20 11:48 AM",
	updated: "26/May/20 11:48 AM",
	hasAvatar: false,
	timestamp: 1590486482250,
	attributes: [
		{},
		{},
		{},
		{},
		{
			id: 46,
			objectTypeAttribute: {},
			objectTypeAttributeId: 406,
			objectAttributeValues: [
				{
					value: "T440P",
					displayValue: "T440P"
				}
			],
			objectId: 12,
			position: 4
		},
		{
			id: 47,
			objectTypeAttribute: {},
			objectTypeAttributeId: 407,
			objectAttributeValues: [
				{
					referencedObject: {},
					displayValue: "Lenovo"
				}
			],
			objectId: 12,
			position: 5
		},
		{},
		{
			id: 49,
			objectTypeAttribute: {},
			objectTypeAttributeId: 409,
			objectAttributeValues: [
				{
					value: "PGF-24538-36345",
					displayValue: "PGF-24538-36345"
				}
			],
			objectId: 12,
			position: 7
		}
	],
	extendedInfo: {},
	_links: {},
	name: "GN-PC-1265"
}