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

Need to 'trim' workItemCurrentState after splitting #120

Open
paulcurren opened this issue Feb 22, 2023 · 0 comments
Open

Need to 'trim' workItemCurrentState after splitting #120

paulcurren opened this issue Feb 22, 2023 · 0 comments

Comments

@paulcurren
Copy link

paulcurren commented Feb 22, 2023

Currently, setting "Filter by WorkItem Current State" to "New, Failed Testing" doesn't work because the space before "Failed..." isn't trimmed.

Hence we have to set "Filter by WorkItem Current State" to "New,Failed Testing" , which is harder to read.

The issue is here:

if (settings.workItemCurrentState && settings.workItemCurrentState !== '' && settings.workItemCurrentState.split(',').indexOf(workItem.fields['System.State']) === -1) {

Similar for 'workItemType'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant