Skip to content

andtechstudios/ticket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Per-host Setup

  1. Create ~/.config/ticket.yml with the following contents:
hosts:
  - hostname: gitlab.com
    access_token: glpat-xxxxxx
  - hostname: gitlab.example.com
    access_token: yyyyyy
  - hostname: gitlab.example.org
    access_token: zzzzzz 

Create a personal access token here. Ticket requires at least the api scope.

Per-repository Setup

  1. Run ticket init. Run the git commands generated by init.

Usage

# Initialize repository for Ticket
$ ticket init

# Create new issues
$ ticket create
> call saul
# Create issue with description
> call saul: get phone number from jesse
# Create issue with assignee
> call saul @jpinkman
# Create issue with labels
> call saul #feature #backlog

# Assign issue to yourself
$ ticket assign 456 me
# Assign issue to yourself (shorthand)
$ ticket assign 456
# Assign issue to user
$ ticket assign 456 swhite

# Remove assignees from issue
$ ticket unassign 456

# Close issue
$ ticket close 456

# List issues assigned to you
$ ticket list 456
# List issues
$ ticket list 456 -a

About

GitLab issues CLI

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages