Skip to content

Remove jQuery CSP headers from Jira Connect App

What does this MR do and why?

We have completely removed jQuery from this page, thus the added CSP headers to the iframe are no longer needed. This MR removes the reference to jQuery and Atlaskit (Atlassian's style guide) both of which are no longer used on the Jira connect app page.

I have validated that all functionality and UI works as expected:

  • Users can log into GitLab.
  • Users can view, add, and unlink namespaces.

Screenshots or screen recordings

Step Screenshot
1 - Sign in to GitLab Jira_connect_app_1_-_Sign_in_to_GitLab
2 - Signed in to GitLab Jira_connect_app_2_-_Signed_in_to_GitLab
3 - List namespaces empty Jira_connect_app_3_-_List_namespaces_empty
4 - Add namespace Jira_connect_app_4_-_Add_namespace
5 - Add namespace success Jira_connect_app_5_-_Add_namespace_success

How to set up and validate locally

In order to test this feature, you need a Jira Cloud instance (for example, *.atlassian.net). You can get one free by following these steps.

You should then read this documentation that demonstrates how to setup the Jira Connect app from GitPod.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #337602 (closed)

Edited by Justin Ho Tuan Duong

Merge request reports