UX: Jira integration should support OAuth
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=300195) </details> <!--IssueSummary end--> ## Problem to solve Allow Jira users to authenticate with their Atlasssian credentials (OAuth) in order to setup the Jira integration in GitLab. As described in the epic https://gitlab.com/groups/gitlab-org/-/epics/4954#user-experience-goal > *As an individual user, I want to use those Atlassian credentials to...* > > * View a list of Jira issues, so that I'm only viewing the issues I have access to. > * View the details of the Jira issue, so I can understand the full context of the item. > * Comment on issues, to participate in the discussion of the work. > * Edit/manipulate the details of the issue, such as changing the description, adding labels, and setting the status. In addition to the user stories mentioned which are specific to: https://gitlab.com/gitlab-org/gitlab/-/issues/220999 – more questions need to be answered before hand. For example, how and where should these Atlassian credentials be managed in GitLab? and how should cases like this be handled: - What if the Atlassian user has access to multiple Jira instances? - What if the Atlassian user is settings up an instance/group level integration? - What happens when an Atlassian user's credentials change in scope or are revoked? ## Proposal * Add an additional method to authenticate using Jira Cloud OAuth * After successfully authenticating, provide a success message that mentions where to go in order to manage/disconnect the OAuth For this first MVC we will focus on Jira Cloud. In future iterations we should add support for Jira Server. :point_right: [Figma prototype](https://www.figma.com/proto/vIOPf4Acqnft8QvjvIyKXc/Design-Managing-Atlassian-credentials-284977?node-id=523%3A317&viewport=1040%2C731%2C0.17322607338428497&scaling=min-zoom) #### Additional user stories to consider 1. Ensure that I am connecting the correct Jira instances/projects to GitLab (since I have more than one) _so that_ I am only adding the information I need in GitLab. 1. Remove my Atlassian credentials/access from GitLab _so that_ I can sign into GitLab as a different Atlassian user. --- _Note: This issue was broken down from https://gitlab.com/gitlab-org/gitlab/-/issues/284977/designs/Proposal_auth_update.png_
issue