Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,943
Community Members
 
Community Events
168
Community Groups

Trying to integrate Jira into Gitlab to give real time updates

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?

1 answer

0 votes
Dario B Atlassian Team Mar 11, 2021

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

Dario B Atlassian Team Mar 16, 2021

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

Like Timothy Whitaker likes this

Hi @Dario B 

Thanks so much for the help this has helped tremendously thank you.

Much appreciated,

Tim

Like Dario B likes this
Dario B Atlassian Team Mar 17, 2021

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

Hi @Timothy Whitaker 

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.

Hi @Dafydd Johns 

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS

Atlassian Community Events