[API][RULES] A user should set several rules to select the issues
Opened this issue · 1 comments
leroycharles commented
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:
- Rule 1 'issue opened' is using template A and stores the corresponding notes in
dir_alpha
- Rule 2 'issue closed' is using template B and stores the corresponding notes in
dir_alpha
- Rule 3 'label is lbl' is using template C and stores the corresponding notes in
dir_bravo
- 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.