-
Notifications
You must be signed in to change notification settings - Fork 336
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
Jira Server: persist search query #5820
Comments
Include in next sprint?: N Powered by Parabol |
Story points: 13 Powered by Parabol |
Include in next sprint?: Y Powered by Parabol |
@Dschoordsch Our search queries have different format for different integrations, and may get even more differences in the future if we want to persist more filters. For example, for JiraServer we persist the following information:
For GitHub it is only:
if we want a generic mutation
This way we can probably also implement generic logic on the UI. Does that sound okay to you? |
I also suggest to use a separate table
As currently, we load all the queries and manually check uniqueness, do sorting, slicing array etc. |
@igorlesnenko I like the idea of leaving the conflict resolution up to the database. What I would maybe add is a I'm not 100% certain anymore whether we should have integration specific tables or one generic one. I personally dream of a generic one because in the ideal case for a new integration you would only need to implement the TaskIntegrationManager and adapt the UI. On the other hand we could achieve this also by having integration specific tables and treat these as being owned by the integration, i.e. only the integration manager itself reads and writes to it. |
Functionally similar to
persistJiraSearchQuery
andpersistGitHubSearchQuery
.Acceptance criteria
persistIntegrationSearchQuery
and add logic for Jira ServerTaskIntegration
so it is usedpersistJiraSearchQuery
andpersistGitHubSearchQuery
overThe text was updated successfully, but these errors were encountered: