-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(api): Create query param to show disabled ticket integrations #58058
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
feat(api): Create query param to show disabled ticket integrations #58058
Conversation
@@ -81,4 +83,9 @@ def get(self, request: Request, project) -> Response: | |||
|
|||
context = {"actions": action_list, "conditions": condition_list, "filters": filter_list} | |||
|
|||
if request.GET.get("includeAllTickets") is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very open to alternative names for the query parameter includeAllTickets
or the response key disabledTicketActions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it need to take into account can_create_tickets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah good catch, added that in
Codecov Report
@@ Coverage Diff @@
## master #58058 +/- ##
==========================================
- Coverage 79.02% 79.02% -0.01%
==========================================
Files 5130 5130
Lines 223040 223050 +10
Branches 37561 37563 +2
==========================================
+ Hits 176264 176268 +4
- Misses 41139 41142 +3
- Partials 5637 5640 +3
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change seems fine, will the disabled integrations in the list be greyed out / obvious that they're disabled? You might consider linking to the integration details page rather than the setup docs, since to re-enable you just need to re-install.
Ah yes that'd be better, I'll do that instead |
Requires #58058 #58186 ### Summary Create a new alert rule action for Jira Server that mirrors the existing Jira alert rule action. ---- ### Sending Test Notification In the video below, I test creating all task types (epic, story, task, sub-task, bug) in Jira Server using the test notification There is a visual bug here where the `sending test notifications` button disappears after a while, even though it's still going on. After all the actions have been run, `Notifications sent!` pops up but there's a big gap in between where nothing shows on screen to indicate things are still running. https://github.com/getsentry/sentry/assets/67301797/d61ff9e4-312f-4529-8961-3e827df61b28 ----- ### New Action on Create Alert Rule <img width="538" alt="Screenshot 2023-10-16 at 12 15 53 PM" src="https://github.com/getsentry/sentry/assets/67301797/be8a41c4-541c-4d38-985a-3dc73bf8438b"> --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
We want to show disabled integrations on the alert rule action dropdown. Each disabled integration would have a button on the right linking to respective integration setup page.
This change allows us to pass a query parameter that will then include all disabled ticket actions in the response.
Mockup