PUT
/executions/:id
Modify Execution
1. Request Header
Name |
Type |
Required |
Description |
Token |
String |
Yes |
Authentication Token |
2. Request Payload
Name |
Type |
Required |
Description |
project |
int |
Yes |
Affiliated Project |
name |
string |
Yes |
Execution Name |
code |
string |
Yes |
Execution Code |
begin |
date |
Yes |
Planning Begin Date |
end |
date |
Yes |
Planning End Date |
days |
int |
No |
Available Working Days |
lifetime |
string |
No |
Type (short term |long term |ops) |
PO |
string |
No |
Product Owner |
PM |
string |
No |
Iteration Leader |
QD |
string |
No |
Test Manager |
RD |
string |
No |
Release Manager |
teamMembers |
array |
No |
Team members ["admin"] |
desc |
string |
No |
Iteration Description |
acl |
string |
No |
Access control (private |open inherited project permissions) |
whitelist |
array |
No |
Whitelist |
3. Request Example
{"name": "test execution1", "code": "test1", "begin": "2021-12-01", "end": "2021-12-11", "days": 10}
4. Request Response
Name |
Type |
Required |
Description |
id |
int |
Yes |
Execution ID |
project |
boolean |
Yes |
Affiliated Project |
name |
string |
Yes |
Execution Name |
code |
string |
Yes |
Execution Code |
days |
int |
Yes |
Available Working Days |
begin |
date |
Yes |
Planning Begin Date |
end |
date |
Yes |
Planning End Date |
lifetime |
string |
Yes |
Type (short term |long term |ops) |
PO |
string |
No |
Product Owner |
PM |
string |
No |
Iteration Leader |
QD |
string |
No |
Test Manager |
RD |
string |
No |
Release Manager |
teamMembers |
array |
Yes |
Team members ["admin"] |
desc |
string |
Yes |
Iteration Description |
acl |
string |
Yes |
Access control (private |open inherited project permissions) |
whitelist |
array |
Yes |
Whitelist, acl = Effective when private |
openedBy |
string |
Yes |
Created by |
openedDate |
datetime |
Yes |
Creation Date |
5. Response Example
{
"id": 40,
"project": 12,
"model": "",
"type": "sprint",
"lifetime": "",
"budget": "0",
"budgetUnit": "CNY",
"attribute": "",
"percent": 0,
"milestone": "0",
"output": "",
"auth": "",
"parent": 12,
"path": ",12,40,",
"grade": 1,
"name": "test execution1",
"code": "test1",
"begin": "2021-12-01",
"end": "2021-12-11",
"realBegan": "0000-00-00",
"realEnd": "0000-00-00",
"days": 100,
"status": "wait",
"subStatus": "",
"pri": "1",
"desc": "",
"version": 0,
"parentVersion": 0,
"planDuration": 0,
"realDuration": 0,
"openedBy": "admin",
"openedDate": "2021-11-28T15:37:59Z",
"openedVersion": "15.8",
"lastEditedBy": "admin",
"lastEditedDate": "2021-11-28T15:37:59Z",
"closedBy": "",
"closedDate": null,
"canceledBy": "",
"canceledDate": null,
"PO": "",
"PM": "",
"QD": "",
"RD": "",
"team": "test execution1",
"acl": "private",
"whitelist": ",",
"order": 200,
"deleted": "0",
"totalHours": 700,
"totalEstimate": 0,
"totalConsumed": 0,
"totalLeft": 0
}