v2

latestSwagger 2.02026-08-01331211921.0 KB
Pullrequests

Create a task on a pull request

Creates a new pull request task.

Returns the newly created pull request task.

Tasks can optionally be created in relation to a comment specified by the comment's ID which will cause the task to appear below the comment on a pull request when viewed in Bitbucket.

post/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks

Request body

pendingboolean

Response

The newly created task.

idinteger
created_onstring date-time required
updated_onstring date-time required
state'RESOLVED' | 'UNRESOLVED' required
pendingboolean
resolved_onstring date-time

The ISO8601 timestamp for when the task was resolved.