Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Narrowing and labeling issues with user-friendly query strings #5

Open
danjo-m opened this issue Jul 11, 2014 · 0 comments
Open

Narrowing and labeling issues with user-friendly query strings #5

danjo-m opened this issue Jul 11, 2014 · 0 comments
Labels

Comments

@danjo-m
Copy link
Member

danjo-m commented Jul 11, 2014

Story

On narrowing and labeling issues by search strings, want to use some user friendly notations.
For example, "created:<last-week" instead of "2014-07-25T14:30:00+09:00" .

Demo

In LastNote repo, add "New" label to the issues that created in the last week.
Otherwise, remove "New" label.

Description

In LastNote repo, these four issues:

issue name labels created date
issueA PBL, New 10 days ago
issueB PBL 10 days ago
issueC PBL, New 5 days ago
issueD PBL 5 days ago

Execute the trick

$ octaccord add_labels --exclusive "New" --search="created:>={last week}"

Result

issue name labels created date
issueA PBL 10 days ago
issueB PBL 10 days ago
issueC PBL, New 5 days ago
issueD PBL, New 5 days ago
@danjo-m danjo-m added the PBL label Jul 11, 2014
@yoshinari-nomura yoshinari-nomura changed the title 特定の条件を満たすissueに指定したラベルをつけたい Narrowing and labeling issues with user-friendly query strings Jul 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant