Hi everyone I am trying to use jira (cloud) to show updates on my local Gitlab ci/cd pipeline eg. issues and build failures. How can I achieve this and should I use Jira integration or Webhooks?
Hello @Timothy Whitaker ,
Welcome to the Atlassian Community!
I am not sure I understand correctly how you have configured your integration and what you are trying to achieve. Can you kindly provide more details?
However, in case you are just looking for possible ways to integrate Jira with Gitlab, then you may want to have a look at the below page from GitLab:
Cheers,
Dario
Hi Dario
Thanks for the reply
I am trying to use Jira as a bug tracking tool for Gitlab. Basically, I want Gitlab to send notifications about our pipeline to Jira to notify us of any bugs that occurred during the pipeline process like build failures. We can do this using Jenkins but are not sure how to do it in Gitlab.
Hope this helps
Thanks,
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Timothy Whitaker ,
I made a bit of research on this topic and apparently the already existing integrations with GitLab are not supporting the CI/CD part, only the source code management one.
The supported integrations with CI/CD tools are the ones listed in below pages:
However, it has also to be mentioned that the same way you integrate with Jenkins, you should be able to integrate with other self-hosted tools as explained in below pages:
In short, you will have to create Oauth credentials for your integration in Jira. Then, use those credentials in GitLab to send data about build and deployment information and associate that to Jira issues (using the Builds API and Deployments API).
Finally, not totally related, but you may be interested in watching: How to automate across Jira & Gitlab (Cloud).
I hope this helps.
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome @Timothy Whitaker .
Once you manage to get the integration working, it would be nice if you can update this thread with the steps you followed so that it could help other customers (and accept the answer so that the thread will be marked as resolved).
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you manage to get this up and running (or even get it running with the Gitlab app for JIRA)? I can seem to get build information to populate in JIRA just uisng the app, but only for Merge Commits for some reason.
I'm trying to get the same pipeline data into JIRA for every commit on feature branches.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sorry but we actually landed up using Jira with Jenkins and Slack with Gitlab so unfortunately I cannot help much.
Hope you can figure it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.