Issue dependencies

3 Trellis API endpoints for issue dependencies, with the scopes, parameters and response each one takes.

List a project's issue dependencies

GET/workspace/{handle}/{key}/issues/dependencies

Scopes

Needs a token holding issues:read, issues:write or projects:read.

Path parameters

handlestringRequired

Workspace handle, as it appears in the Trellis URL.

keystringRequired

Project key, e.g. `T-001`.

Responses

200OK

array of IssueDependencyResponse

created_atstring
created_bystring
dependency_typestring
from_issue_idstring
idstring
lag_daysinteger
to_issue_idstring

defaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.

See Errors for the fields it carries.

Create an issue dependency

POST/workspace/{handle}/{key}/issues/dependencies

Scopes

Needs a token holding issues:write.

Path parameters

handlestringRequired

Workspace handle, as it appears in the Trellis URL.

keystringRequired

Project key, e.g. `T-001`.

Request bodyapplication/json

CreateIssueDependencyRequest

dependency_typestring
from_issue_idstringRequired
lag_daysinteger
to_issue_idstringRequired

Responses

201Created

IssueDependencyResponse

created_atstring
created_bystring
dependency_typestring
from_issue_idstring
idstring
lag_daysinteger
to_issue_idstring

defaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.

See Errors for the fields it carries.

Delete the dependency between two issues

DELETE/workspace/{handle}/{key}/issues/dependencies

Scopes

Needs a token holding issues:write.

Path parameters

handlestringRequired

Workspace handle, as it appears in the Trellis URL.

keystringRequired

Project key, e.g. `T-001`.

Request bodyapplication/json

DeleteIssueDependencyRequest

from_issue_idstringRequired
to_issue_idstringRequired

Responses

200OK

Message

messagestring

defaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.

See Errors for the fields it carries.