{
"fields": {
"project":
{
"key": "ABC"
},
"summary": "Sum of two numbers",
"description": "example of manual test",
"issuetype": {
"name": "Test"
},
"customfield_10200": { "value": "Manual" },
"customfield_10004": {
"steps": [
{
"index": 0,
"step": "Step 1",
"data": "input Data 1",
"result": "Excepted result 1"
},
{
"index": 1,
"step": "Step 2",
"data": "input Data 2",
"result": "Excepted result 2"
},
{
"index": 2,
"step": "Step 3",
"data": "input Data 3",
"result": "Excepted result 3"
},
{
"index": 3,
"step": "Step 4",
"data": "input Data 4",
"result": "Excepted result 4"
}
]
}
}
}
where:
"customfield_10200" corresponds to the "Test Type" custom field (please check the correct customfield id for your Jira instance)
"customfield_10004" corresponds to the "Manual Test Steps" custom field (please check the correct customfield id for your Jira instance)
Code Block
title
Example Input for automated test (Cucumber Scenario)
{
"fields": {
"project":
{
"key": "ABC"
},
"summary": "Sum of two numbers",
"description": "example of cucumber automated test - Scenario",
"issuetype": {
"name": "Test"
},
"customfield_10200": { "value": "Cucumber" },
"customfield_10201": { "value": "Scenario" },
"customfield_10202": "Given I have a calculator\nWhen I press 1\nAnd I press +\nAnd I press 2\nAnd I press =\nThen I should see 3"
}
}
where:
"customfield_10200" corresponds to the "Test Type" custom field (please check the correct customfield id for your Jira instance)
"customfield_10201" corresponds to the "Cucumber Test Type" custom field (please check the correct customfield id for your Jira instance)
"customfield_10202" corresponds to the "Cucumber Scenario" custom field (please check the correct customfield id for your Jira instance)
"customfield_10200" corresponds to the "Test Type" custom field (please check the correct customfield id for your Jira instance)
"customfield_10203" corresponds to the "Generic Test Definition" custom field to the "Generic Test Definition" custom field (please check the correct customfield id for your Jira instance)