Draft: POC jira connect app with gitlab instances
What does this MR do?
The goal of this MR is to outline a solution to make the GitLab for Jira App work with self-managed instances. Related issue: #321401 (closed)
Proposal
Most of what the app does is GitLab pushing data to Jira. This part will work fine on self-managed. Only the setup (installation and loading the iframe for namespace linking) is Jira connecting to GitLab. For this part, we can build a proxy application that handles installation hooks and show a nested iframe for self-managed in Jira
Next steps
- Currently adding namespaces does not work in the nested iframe because we can't access the token
- Forwarding installed and uninstalled hooks should be async jobs
- Make changing
instance_url
work with JavaScript - Forward app update hooks
- Add tests
- Security considerations
- Can we store the secrets on .com and forward them?
- How do we inform users that we use .com as a proxy and store the instance URLs
Screenshots (strongly suggested)
Here is a demo of the prototype in the current state: https://www.youtube.com/watch?v=R9QVlw2YPlQ
Edited by Andy Schoenen