@archastro/sdk
    Preparing search index...
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Link a task Epic to an object Adds an (external_scope, object_type, object_id) identity to the Epic, the same identity as a task external link. An Epic can link many objects and an object can be linked from many Epics. A link references the object and grants no access to it. Requires Epic modify permission, except platform/thread links require Epic view and thread ownership (or an app-scoped developer key). Admin status alone grants no thread-link authority. The reserved platform scope means this backend's app and sandbox; artifact (art_...), file (fil_...) and thread (thr_...) are the linkable platform types, and the caller must be able to read the object. Thread links also require thread modify permission. Other scopes are opaque identities, such as github.com/pull_request. Adding a link the Epic already has is a no-op. Returns once GET /api/v1/task_epics can find the Epic by the link.

      Parameters

      • epic: string

        Epic ID (epc_...).

      • input: { external_scope: string; object_id: string; object_type: string }

        Request body.

        • external_scope: string

          Container of the object, or platform.

        • object_id: string

          Object identity within the scope.

        • object_type: string

          Object kind, such as artifact.

      Returns Promise<TaskEpicEntity>

      Successful response

    • Remove a link from a task Epic Removes one (external_scope, object_type, object_id) link. Requires Epic modify permission, not access to the linked object. Removing a link the Epic does not have is a no-op.

      Parameters

      • epic: string

        Epic ID (epc_...).

      Returns Promise<TaskEpicEntity>

      Successful response