structure_addIssues
Add issues under a Structure folder by parent row ID, folder name, or folder ID. Accepts issue keys or IDs and avoids duplicates unless skipIfPresent=false.
Instructions
Add one or more Jira issues under a Structure folder (or any parent row). POST /rest/structure/2.0/forest/update action=add. Identify parent via underRowId, folderName, or folderId. Pass issueKeys and/or issueIds. Skips issues already under that parent unless skipIfPresent=false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | No | Internal Structure folder item id (from type-folder N in itemRaw 4/N) | |
| issueIds | No | Numeric Jira issue ids (alternative/complement to issueKeys) | |
| issueKeys | No | Issue keys to add, e.g. ["PROJ-1","PROJ-2"] | |
| afterRowId | No | Insert after this sibling rowId under the parent (default: first child) | |
| folderName | No | Folder summary/name (exact, else unique substring). Ambiguous → error. | |
| underRowId | No | Parent rowId (folder or issue). Prefer this when known. | |
| beforeRowId | No | Insert before this sibling rowId under the parent | |
| structureId | Yes | Structure id | |
| skipIfPresent | No | Skip issues already direct children of the parent (default true) |