Skip to content

Instantly share code, notes, and snippets.

@jamieklassen
Created April 11, 2019 15:31
Show Gist options
  • Select an option

  • Save jamieklassen/976b63943b85086259e45d4c1e0a696b to your computer and use it in GitHub Desktop.

Select an option

Save jamieklassen/976b63943b85086259e45d4c1e0a696b to your computer and use it in GitHub Desktop.

automating some Concourse workflow stuff at the command line

Web backlog: /projects/columns/1366615 UX inflight: /projects/columns/1366616 UX done: /projects/columns/1366617

general command structure: alias proj='hub api -H accept:application/vnd.github.inertia-preview+json'

export top_inflight=(proj $inflight/cards | jq .[0].id)

pull off the top of the backlog:

  1. move card to inflight
  2. assign issue to self

move card to inflight

proj -XPOST /projects/columns/cards/11475683/moves -F position=top -F column_id=1366616

assign issue to self

had to read the issue number from

proj /projects/columns/cards/11475683 | jq -r .content_url | grep -Eo '\d+'

then assigned via

ghi assign 2428
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment