Team Commands Automation Options

Feature request for product/service

– Other –

Describe the request

Our organization needs to:

  • Automate deployment of standardized commands across multiple teams
  • Version control our team commands in Git repositories
  • Integrate command management into our CI/CD pipelines
  • Synchronize commands with our internal documentation systems
  • Programmatically update commands without manual dashboard intervention

We have a rigorous review process for commands and once they are accepted and merged into the Repo we want our teams to start adopting those commands.

This could be done in various ways.

  1. An option to point team commands to a Gitlab repository.
  2. An update to the Admin API that would allow us to setup some CI/CD processes to update changed commands.
    a. GET /teams/commands Response: { “commands”: [ { “id”: “cmd_abc123”, “name”: “code-review”, “description”: “…”, “content”: “…”, “createdAt”: “…”, “updatedAt”: “…” } ] }
    b. GET /teams/commands/:commandId
    c. PATCH /teams/commands/:commandId Body: { “name”: “…”, “description”: “…”, “content”: “…” }
    d. DELETE /teams/commands/:commandId

Benefits

  • Consistency with existing Admin API patterns (repo blocklists, billing groups)
  • Enables Infrastructure-as-Code practices for team configuration
  • Reduces manual overhead for teams managing multiple workspaces
  • Facilitates command versioning and rollback capabilities

Current Workaround Limitations

Currently, we must:

  1. Manually create/update commands via the dashboard UI
  2. Distribute project-level commands via Git (doesn’t work for global commands)
  3. Cannot programmatically sync commands across multiple teams
3 Likes

I came here to post pretty much the same thing.

Vote my guy. Vote.

OH I thought the heart did that. Clicked it!

No idea which thing does what (heart vs vote). I’m just trying to get/keep some attention on this so I can get the feature I need :smiley:

I was reading API docs looking for this feature.

Manually updating the commands will force us to give admin permission to every member in the org which is not pretty nice :sweat_smile:

A simple POST to the API will be super useful for integrating it via a github repository + github actions automation