【发布时间】:2021-02-17 09:13:09
【问题描述】:
我的目标是使用 API 在 Zephyr 中为 Jira 创建一个测试。我在网上找到了类似的东西
"fields": {
"issuetype": {
"name": "Test"
},
"project":
{
"key": "TP"
},
"summary": "Test From API",
"description": "",
"assignee": {
"name": "Some Name"
},
"customfield_10014": "SOMEKEY",
"duedate": "2018-10-03",
"priority": {
"name": "Medium"
},
"labels": ["label1", "label2"],
"customfield_19416": "50h",
"customfield_19719": {
"value": "minor"
},
"customfield_11101": [
{
"Test Step": "some text",
"Test Data": "some text",
"Test Result": "some text"
},
{
"Test Step": "some text",
"Test Data": "some text",
"Test Result": "some text"
},
{
"Test Step": "some text",
"Test Data": "some text",
"Test Result": "some text"
}
]
}
我真的不知道我应该使用什么 API。
最近我能够使用以下 API 创建测试周期 https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/cycle
可以在此页面上找到 https://zfjcloud.docs.apiary.io/#reference/cycle
很遗憾,我找不到用于创建测试的类似 API。有可能吗?
PS:我正在使用Authorization, Content-Type, zapiAccessKey 标头,其中Authorization 是JWT 密钥
感谢您的提示
【问题讨论】:
标签: api rest postman jira jira-zephyr