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

Whiteboard tag parsing can lead to the wrong action being selected to process a bug #582

Open
grahamalama opened this issue Jun 12, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@grahamalama
Copy link
Contributor

Scenario:

There are two action configurations:

- whiteboard_tag: foo
  ...
- whiteboard_tag: bar
  ...

JBI receives a webhook payload with a whiteboard string that includes "[foo-bar]"

Does that refer to:

  • the whiteboard tag foo with metadata bar?
    or
  • the whiteboard tag bar with metadata foo?

In cases like this, the order of the actions in the configuration will matter. The foo action will be selected with the current configuration, but if we were to flip the order of the actions, the bar action would be selected. Situations like these may lead to issues being created in the wrong projects.

@leplatrem
Copy link
Contributor

Related #407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants