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

[API][RULES] A user should set several rules to select the issues #19

Open
leroycharles opened this issue Jan 12, 2023 · 1 comment
Open

Comments

@leroycharles
Copy link

Is your feature request related to a problem? Please describe.
Current behavior allow wanted issues to be selected, formatted in a template and stored in a given directory.
All issues uses the same templates and are sent to the same directory.

Describe the solution you'd like
This behavior should be refined in rules giving the user the ability to select a given type of issue, apply the template and store them in a given directory. Each rule would be executed individually.
Example:

  1. Rule 1 'issue opened' is using template A and stores the corresponding notes in dir_alpha
  2. Rule 2 'issue closed' is using template B and stores the corresponding notes in dir_alpha
  3. Rule 3 'label is lbl' is using template C and stores the corresponding notes in dir_bravo
  4. Rule 4 'is opened, label is lbl, author is Human' is using template C and stores the corresponding notes in dir_alpha

Describe alternatives you've considered
Endlessly changing the config and the token when needed (extremely time consuming)

Additional context
The instance and the personal token should remain the same.

@benr77
Copy link
Owner

benr77 commented Jan 19, 2023

This is something I'm considering, so thanks for the detailed description.

Basically a duplicate of #9.

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

2 participants