Page History
...
Code Block | ||
---|---|---|
| ||
{ "fields":{ "customfield_10004":{ "steps":[ { "index":1, "fields":{ "action":"Step 1", "data":"input Data 1", "expected result":"Excepted result 1" }, "attachments":[ ] }, { "index":2, "fields":{ "action":"Step 2", "data":"input Data 2", "expected result":"Excepted result 2" }, "attachments":[ ] }, { "index":3, "fields":{ "action":"Step 4", "data":"input Data 3", "expected result":"Excepted result 3" }, } "attachments":[ ] } ] } } } |
Currently, it's not possible to add attachments to steps at the moment of creation. This needs to be done afterward, using the proper endpoint described in Test Steps - REST.
Below is a full Test creation example using Jira's REST API endpoint for creating issues.
...
Expand | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||
|
...