Support JIRA when creating a new issue from a failed job
We have added the capability to create a new issue when looking at a failed job (gitlab-ce#29514). Unfortunately there are some limitations using this when JIRA integration is enabled:
- The Issue project service must be enabled. This is the only feature for which this has to be on, as far as I know. We should display this even with the Issue feature is disabled but JIRA integration is turned on to follow the rest of the features of GitLab.
- When creating an issue over at the JIRA site, we don't pass any of the information. We don't pass the build log, nor do we even pass the Project Key. This should be possible via the API. https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-create-issue
Proposal
For mocks-ups, see:
Edited by Libor Vanc