-
Notifications
You must be signed in to change notification settings - Fork 7
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
doing list --state
: add option for active
#94
Comments
This is a trickier problem than I first expected. Turns out that work items have a state and states have a state category. State categories are not alterable by the user. However, they are linked to the type of process that the project uses. azDo supports 4 projects: Basic, Agile, Scrum and CMMI. These have different state categories:
See https://medium.com/objectsharp/work-item-states-in-azure-devops-7f355918bc08 We could start checking state category instead of state. However, the user sees state in the web boards, and not the state category, so there would be no direct link between the two. I don't think we can directly get the state category of the state of a work item. |
Yeah storing the info in config would be nice. We have some states hard-coded right now (like which ones are 'active'). We should have some defaults when they are not specified in the config (for backward compatibility and for users that start without using the doing init command). Or an error specifying how & what to add to the config. The question is how useful is this compared to the engineering effort. Good to consider alternatives; maybe to allow AND OR operators for filters. Then you could write a command to filter on issues with states you consider as 'active', and define an alias for it (or add it to your projects Makefile, like |
Hey Tim! :D Good point on the engineering effort. This looks like a lot of work for something I don't see a great benefit to in the short term. |
For this issue I'm planning to do the following:
I'll split this into different PRs. |
Right now the only options are open, closed and all. at least having
active
would be useful.The text was updated successfully, but these errors were encountered: