gavinr / github-csv-tools

Import and export GitHub issues via CSV
https://npmjs.com/github-csv-tools
MIT License
657 stars 116 forks source link

Export - Ability to filter issues #42

Open gavinr opened 3 years ago

gavinr commented 3 years ago

41 There are a variety of attributes that we may want to filter on, and I'd like to have a more generic switch so that we do not have to create a custom cli switch for each (milestone, state, assignee, creator, mentioned, labels)

I'm open to suggestions on what the api should be. My initial thought it:

githubCsvTools --exportFilter attribute,value

... where attribute is one of the attributes that you can filter on, like state, etc, and value is the value that you'd like to filter.

davedyk commented 3 years ago

This would be really helpful. In lieu of filtering, is there by any chance a way to get the attributes/values into the data, so that it could be filtered after the CSV is created?

geetachavan1 commented 2 years ago

is there any plan to add this feature? It will be really helpful

chunqiuhu-ola commented 1 year ago

This would be very helpful. Sometimes I just want to filter issues with specific conditions, like issues for certain milestones, status is closed, assignee is a specific person, etc. When do you plan to add this feature?