Forums

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

Add item to jira structureboard using rest api

Aleksandr Y
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!
May 26, 2020

Hi i need to group issues in structure by some field (For example: Fix version).

According link  I need POST requests on:

https://address.com/rest/structure/2.0/item/create

with json body:

{
"item": {
"type": "com.almworks.jira.structure.:type-generator",
"values": {???}
},
"forest": {
"spec": {"structureId": <ID>},
"version": {"signature": <SIGNATURE>, "version": <VERSION>}
}
}

But I don't know what JSON is needed in "???" section. Where can I see it?

The link above shows examples for Issue and folder.

1 answer

0 votes
Egor Tasa [ALM Works]
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.
May 27, 2020

Hi Alexander,

The quickest way to find values json is from Manage Views>Details>Advanced>Active Specification

Manage Views appears under view selector in Structure Board. Top-right of Structure below layout selector.

Alternatively you can look in Dev Tools (ctrl-Shift-i) Network tab, when loading a structure.

Regards,
Egor Tasa

ALM Works

Suggest an answer

Log in or Sign up to answer