Query Project Workflow List
POST
/workflow/listRequest
Header Params
Content-Type
string
required
Example:
application/json
accessToken
string
required
Example:
{{accessToken}}
Body Params application/json
projectId
integer <int64>
required
Project ID
Example
{
"projectId": 1
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
defaultValue
boolean
optional
Is Default Value
workflowName
string
optional
Workflow Name
id
integer <int64>
optional
Workflow ID
workflowDesc
string
optional
Workflow Description
states
array [object {4}]
optional
State List
stateName
string
optional
State Name
stateDesc
string
optional
State Description
stateId
integer <int64>
optional
State ID
stateCategory
integer <int32>
optional
State Category(2:Not Started, 3:In Progress, 4:Done)
issueTypes
array [object {4}]
optional
Related Issue Type List
code
string
optional
Issue Type Code
name
string
optional
Issue Type Name
description
string
optional
Issue Type Description
id
integer <int64>
optional
Issue Type ID
Example
{
"code": "0",
"data": [
{
"defaultValue": true,
"workflowName": "xxx",
"id": 1,
"workflowDesc": "xxx",
"states": [
{
"stateName": "xxx",
"stateDesc": "xxx",
"stateId": 1,
"stateCategory": 2
}
],
"issueTypes": [
{
"code": "xxx",
"name": "xxx",
"description": "xxx",
"id": 1
}
]
}
]
}
Last modified: 6 months ago