Body
Required
-
name
string Required Name
-
description
string Description
-
order
number Order
-
task_group_id
string Required Task Group ID
-
task_id
string Task Id. This field is mandatory only when we want to create this task as subtask of other task.
-
milestone_id
string Milestone ID
-
rule_id
string Rule ID
-
annotation_id
string Annotation ID
-
due_date
string Due Date
-
start_date
string Start Date
-
assignees
array[string] List of Assignees
-
labels
array[string] List of labels
-
meeting_ids
array[string] List of meeting ID
-
embed_url
string Embed URL
-
fields
array[object] Task Field Body
-
story_points
number Story Points
-
dependency
object
Responses
-
201 application/json
The resource created successfully
-
The client request has not been completed because it lacks valid authentication credentials for the requested resource.
-
The client does not have access rights to the content.
-
The request method is known by the server but is not supported by the target resource.
POST
/api/v1.0/tasks
curl \
--request POST https://openapi.niftypm.com/api/v1.0/tasks \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"string","description":"string","order":42.0,"task_group_id":"string","task_id":"string","milestone_id":"string","rule_id":"string","annotation_id":"string","due_date":"string","start_date":"string","assignees":["string"],"labels":["string"],"meeting_ids":["string"],"embed_url":"string","banner":"string","fields":[{"id":"string","value":"string"}],"story_points":42.0,"dependency":{}}'
Request examples
{
"name": "string",
"description": "string",
"order": 42.0,
"task_group_id": "string",
"task_id": "string",
"milestone_id": "string",
"rule_id": "string",
"annotation_id": "string",
"due_date": "string",
"start_date": "string",
"assignees": [
"string"
],
"labels": [
"string"
],
"meeting_ids": [
"string"
],
"embed_url": "string",
"banner": "string",
"fields": [
{
"id": "string",
"value": "string"
}
],
"story_points": 42.0,
"dependency": {}
}
Response examples (201)
{}