Add ability to make Jira comments optional
Thanks to @mdhtr who authored the original MR gitlab-foss!31731 (closed) which I got quite a few pointers from.
What does this MR do?
- Adds the concept of "supported_event_actions" in services which is modeled closely to "supported_events". This should allow us to have even more configurable actions in the feature, for example if we want to make the remote links optional as well (not in scope of this MR).
- Adds UI with a checkbox to enable / disable comments inside the Jira project services integration.
- Updates the Jira integration to only add comments if the toggle "event_actions_comment" is enabled.
- Updates the documentation with how to disable comments.
Screenshots
On this path /group/project/-/services/jira/edit
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation created/updated or follow-up review issue created -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
-
Label as security and @ mention @gitlab-com/gl-security/appsec
-
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖