Skip to content

Add a "not" operator to the Dashboard search #2148

Closed

Description

@jama22

Feature Request

What challenge are you facing?

The current dashboard feature supports fuzzy matching search for pipeline name, but what we've noticed is that users want to search for a set of pipelines that do NOT match a search parameter. For example, one of the release engineering teams here in Pivotal have 10 pipelines, 5 of which start with xyz. Using the search query for xyz they can have a dashboard view of all pipelines that have that string in it, but there is no search query that shows them the 5 pipelines that do NOT have xyz in it

A Modest Proposal

We implement a "not" operator such that when users enter a search string that start with - we give them the inverse set. For example, they could enter -xyz and get the 5 pipelines that do not have xyz in their name!

The - operator could perhaps be extended to negate the other search functions as well, like -main would provide pipelines that belong to every team other than main

  • negate pipeline search
  • negate team search
  • negate status search

Activity

  1. self-assigned this
    on Apr 21, 2018
  2. added a commit that references this issue on Apr 25, 2018
  3. added this to the v3.13.0 milestone on Apr 30, 2018
  4. jama22 commented on Apr 30, 2018

    @jama22
    Author

    Accepting.

    The usage is as follows:

    • to get the opposite pipeline, use -pipelinename
    • to get the opposite teamname, use team:-teamname
    • to get the opposite status, use status:-fail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions