Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

jira integrations with jenkins

Aman Garg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 14, 2018

I am not able to connect jira with Jenkins  I tried both jira webhook and in Jenkins, Jira plugin and all related keys and credentials.

I wanted to configure jenkins as too create an issue in Jira for any failed build. for making it possible I also hooked Jenkins with Bitbucket for the git repository.    

 For now, I am assuming that there is a bug because of which issues are not been created automatically!!

2 answers

2 votes
Yogesh Mude
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 14, 2018

HI @Aman Garg

Welcome to the community!

Please have a look at the below article for integrating Jira and Jenkins.

https://docs.marvelution.org/display/JJI/Jenkins+Integration+for+Jira

https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-Server-integration-with-jenkins/qaq-p/307023

As you mentioned in your description like ..

I wanted to configure jenkins as too create an issue in Jira for any failed build

Jenkins will not create an issue in Jira, but it will show display the build result in CI Build tab in Activity panel of jira issue view screen.

0 votes
P_D_ Foerster
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 14, 2018

Hey Aman,

What does the application log say. Any warnings / error in there? Maybe you also have to increase log level to get more information.

Aman Garg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 15, 2018

No nothing just not working

P_D_ Foerster
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2018

Hi Aman,

in the next days I will set up Jenkins integration for our Jira as well. I will keep you posted should I encounter any problems connecting them.

Meanwhile, check if your user on both ends have the required permissions (https://docs.marvelution.org/x/FACsAw) so we can rule that out :)

P_D_ Foerster
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 2, 2018

Hi @Aman Garg,

we just set up the integration between Jira and Jenkins. So far we didn't have problems setting things up and getting a connection.

However, we noticed that if Jira is not available, old builds might not get displayed in Jenkins, because the change log / build is reconciled with Jira to compare Commits with Jira tickets and create links.
In case you use Jira Cloud or Data Center you most likely don't have to worry about that though.

I suggest you increase the logging in both Jira and Jenkins and also check the access logs, whether both services even communicate with each other. If there are not log entries, you should check your network setup.

Regards,
Patrice

Suggest an answer

Log in or Sign up to answer