Skip to content

Commit

Permalink
feat(api/task): added GetTasks for TaskService
Browse files Browse the repository at this point in the history
  • Loading branch information
flc1125 committed Aug 29, 2024
1 parent a1fb5fb commit 9ad24ad
Show file tree
Hide file tree
Showing 6 changed files with 497 additions and 2 deletions.
184 changes: 184 additions & 0 deletions .testdata/api/task/get_tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
{
"status": 1,
"data": [
{
"Task": {
"id": "1111112222001048647",
"name": "task name 1",
"description": "",
"workspace_id": "11112222",
"creator": "creator",
"created": "2024-01-11 19:12:03",
"modified": "2024-03-04 19:02:33",
"status": "done",
"owner": "owner;",
"cc": "",
"begin": null,
"due": null,
"story_id": "1111112222001047639",
"iteration_id": "1111112222001001779",
"priority": "4",
"progress": "100",
"completed": "2024-01-26 14:21:34",
"effort_completed": "4",
"exceed": "4",
"remain": "0",
"effort": "0",
"has_attachment": "0",
"release_id": "0",
"label": "",
"custom_field_one": "",
"custom_field_two": "",
"custom_field_three": "",
"custom_field_four": "",
"custom_field_five": "",
"custom_field_six": "",
"custom_field_seven": "",
"custom_field_eight": "202402290129",
"custom_field_9": "",
"custom_field_10": "",
"custom_field_11": "",
"custom_field_12": "",
"custom_field_13": "",
"custom_field_14": "",
"custom_field_15": "",
"custom_field_16": "",
"custom_field_17": "",
"custom_field_18": "",
"custom_field_19": "",
"custom_field_20": "",
"custom_field_21": "",
"custom_field_22": "",
"custom_field_23": "",
"custom_field_24": "",
"custom_field_25": "",
"custom_field_26": "",
"custom_field_27": "",
"custom_field_28": "",
"custom_field_29": "",
"custom_field_30": "",
"custom_field_31": "",
"custom_field_32": "",
"custom_field_33": "",
"custom_field_34": "",
"custom_field_35": "",
"custom_field_36": "",
"custom_field_37": "",
"custom_field_38": "",
"custom_field_39": "",
"custom_field_40": "",
"custom_field_41": "",
"custom_field_42": "",
"custom_field_43": "",
"custom_field_44": "",
"custom_field_45": "",
"custom_field_46": "",
"custom_field_47": "",
"custom_field_48": "",
"custom_field_49": "",
"custom_field_50": "",
"custom_plan_field_1": "0",
"custom_plan_field_2": "0",
"custom_plan_field_3": "0",
"custom_plan_field_4": "0",
"custom_plan_field_5": "0",
"custom_plan_field_6": "0",
"custom_plan_field_7": "0",
"custom_plan_field_8": "0",
"custom_plan_field_9": "0",
"custom_plan_field_10": "0",
"priority_label": "High"
}
},
{
"Task": {
"id": "1111112222001029006",
"name": "task name 2",
"description": "",
"workspace_id": "11112222",
"creator": "creator",
"created": "2021-12-29 15:10:00",
"modified": "2022-01-11 19:10:31",
"status": "done",
"owner": "owner;",
"cc": "",
"begin": null,
"due": null,
"story_id": "1111112222001028914",
"iteration_id": "1111112222001001076",
"priority": "4",
"progress": "0",
"completed": "2022-01-04 18:48:14",
"effort_completed": "0",
"exceed": "0",
"remain": "0",
"effort": "0",
"has_attachment": "0",
"release_id": "0",
"label": "",
"custom_field_one": "",
"custom_field_two": "",
"custom_field_three": "",
"custom_field_four": "",
"custom_field_five": "",
"custom_field_six": "",
"custom_field_seven": "",
"custom_field_eight": "202201110093",
"custom_field_9": "",
"custom_field_10": "",
"custom_field_11": "",
"custom_field_12": "",
"custom_field_13": "",
"custom_field_14": "",
"custom_field_15": "",
"custom_field_16": "",
"custom_field_17": "",
"custom_field_18": "",
"custom_field_19": "",
"custom_field_20": "",
"custom_field_21": "",
"custom_field_22": "",
"custom_field_23": "",
"custom_field_24": "",
"custom_field_25": "",
"custom_field_26": "",
"custom_field_27": "",
"custom_field_28": "",
"custom_field_29": "",
"custom_field_30": "",
"custom_field_31": "",
"custom_field_32": "",
"custom_field_33": "",
"custom_field_34": "",
"custom_field_35": "",
"custom_field_36": "",
"custom_field_37": "",
"custom_field_38": "",
"custom_field_39": "",
"custom_field_40": "",
"custom_field_41": "",
"custom_field_42": "",
"custom_field_43": "",
"custom_field_44": "",
"custom_field_45": "",
"custom_field_46": "",
"custom_field_47": "",
"custom_field_48": "",
"custom_field_49": "",
"custom_field_50": "",
"custom_plan_field_1": "0",
"custom_plan_field_2": "0",
"custom_plan_field_3": "0",
"custom_plan_field_4": "0",
"custom_plan_field_5": "0",
"custom_plan_field_6": "0",
"custom_plan_field_7": "0",
"custom_plan_field_8": "0",
"custom_plan_field_9": "0",
"custom_plan_field_10": "0",
"priority_label": "High"
}
}
],
"info": "success"
}
Loading

0 comments on commit 9ad24ad

Please sign in to comment.