design_import
Imports Figma frames into a task, bug or feature through the company's Figma integration, like pasting a design in the web app (snapshot, layers, assets): one entity, up to 10 frame links with node-id per request, large frames 2-3 per request to stay within client timeouts (after a timeout the import keeps running on the server; the entity's designs, by nodeID with ":" such as 12:34, show what was imported within 1-2 minutes); a failed frame does not stop the others. Per frame returns status (imported, updated, unchanged, linked - linked but not refreshed, error), designID and a designToken marker, or error with action - how to fix it; the designToken in an entity's spec or result holds the link to the design, and the same marker in another entity of the product links it there on save. moduleID / componentID (product:structure privilege) set the module's or component's main frame (one frame, no marker); re-import refreshes the snapshot and keeps markers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frames | Yes | Frames to import | |
| taskID | No | Task or bug ID | |
| taskKey | No | Task or bug number, when the ID is unknown | |
| moduleID | No | Module ID - its main frame (one frame) | |
| featureID | No | Feature ID | |
| featureKey | No | Feature key #F12; not with featureID | |
| componentID | No | Component ID - its main frame (one frame) |