Skip to content

Add Apollo to "Jira Issues List" Vue app

Tom Quirk requested to merge 329074-fe-use-graphql-for-jira-issues-list into master

What does this MR do?

As part of an effort to move the Jira Issues feature to GraphQL (&5882), this frontend MR adds Apollo to the Jira Issues List app, and defines a client-side (@client) resolver for the new jiraIssues query. This resolver performs the same GET request as previously. This client-side resolver is temporary, and will be refactored again once we build backend support for this GraphQL query in #329075.

There are no user-facing changes.

For more info on this approach, here's our docs on Implementing frontend queries and mutations ahead of the backend.

Related to #329074 (closed).

To test

To properly test, you'll need a Jira instance with some pre-existing issues. Search jira in the Engineering 1password vault to find our shared instance credentials.

You'll then need to configure your Jira integration within GitLab, and enable the View Jira Issues feature.

Screenshots (strongly suggested)

The video below demonstrates that all functionality works as expected. Don't hesitate to see for yourself, though!

jira-graphql

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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 Tom Quirk

Merge request reports

Loading