3 Trellis API endpoints for issue dependencies, with the scopes, parameters and response each one takes.
List a project's issue dependencies
/workspace/{handle}/{key}/issues/dependenciesScopes
Needs a token holding issues:read, issues:write or projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Responses
200OK
array of IssueDependencyResponse
created_atstringcreated_bystringdependency_typestringfrom_issue_idstringidstringlag_daysintegerto_issue_idstringdefaultError. 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
/workspace/{handle}/{key}/issues/dependenciesScopes
Needs a token holding issues:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Request bodyapplication/json
CreateIssueDependencyRequest
dependency_typestringfrom_issue_idstringRequiredlag_daysintegerto_issue_idstringRequiredResponses
201Created
IssueDependencyResponse
created_atstringcreated_bystringdependency_typestringfrom_issue_idstringidstringlag_daysintegerto_issue_idstringdefaultError. 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
/workspace/{handle}/{key}/issues/dependenciesScopes
Needs a token holding issues:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Request bodyapplication/json
DeleteIssueDependencyRequest
from_issue_idstringRequiredto_issue_idstringRequiredResponses
200OK
Message
messagestringdefaultError. 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.