Integrations should allow to specify branch-name-pattern
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description of Problem
Currently GitLab creates a multiple (useless) JIRA comments when doing multiple force-push on feature branches during development for backup/collaboration purposes. Usually I only want to get exactly one JIRA comment when I finished my work (=the feature branch was merged/rebased after code-review).
Proposal
It would be great if one could specify patterns of branch-names in the settings of an integration. On every push operation Gitlab would run the corresponding integration only if the pushed branch matches one of these patterns.
Alternatively instead of specifying an arbitrary branch-name-pattern a checkbox "only-on-protected-branched" might be sufficient. Because these branches do not allow force-push by definition every commit causes an integration run exactly once.
In the case of JIRA, GitLab would produce exactly one JIRA comment per commit message.