Jenkins Jira Integration issue on notification build
Description
Environment
Activity

Mark Rekveld October 4, 2016 at 8:18 AM
Hi,
First the page you linked for the JIRA plugin is NOT the plugin that this project uses, it has its own JIRA plugin and the one from Jenkins is not supported and has no effect on this integration.
You can get the plugin from our release notes.
Once the repo has committed with jira story key (example: test-1), jenkins can build the job and jira updates the Activity on respective story (test-1), however build updates are not publishing to CI build panel.
Make sure that you add valid issue keys to the commit message. Currently the plugin follows the requirements from Atlassian on this, see there docs Changing the project key format on the requirements for project keys in JIRA.
Problem here is that,
Data synchronization is not happening immediately on Jenkins job completion.
By default there is an hourly synchronization job that runs on JIRA, if you want to improve this you have to install the Jenkins Plugin provided by this project.
Jira data sync's with Jenkins job on every 60 mins only. (How can we reduce the sync time interval to 1 mins ?)
We would like to update the build info immediately on CI build panel as soon Jenkins job completes the build.
There is a JIRA Build Notifier that you can use in Jenkins, and you can update a property to set the schedule delay for the sync job in JIRA.
See Data Synchronization for details.
Hope this answers your questions.
Cheers,
Mark
Details
Details
Assignee

Reporter

Hi Team,
We are integrating Jenkins with Jira, we have installed the required plugin on both the end.
Jenkins-plugin for Jira version 2.1.2
Jira-plugin for Jenkins version 2.1.2
Also we have configured the Jenkins site on Jira and could see the jobs sync for first time. We have followed the below url for the installation and configuration.
https://marketplace.atlassian.com/plugins/com.marvelution.jira.plugins.jenkins/server/overview
https://wiki.jenkins-ci.org/display/JENKINS/JIRA+Plugin
Scenario:
Once the repo has committed with jira story key (example: test-1), jenkins can build the job and jira updates the Activity on respective story (test-1), however build updates are not publishing to CI build panel.
We also tried with Jira build notifer on Jenkins post build action, but no luck.
Problem here is that,
Data synchronization is not happening immediately on Jenkins job completion.
Jira data sync's with Jenkins job on every 60 mins only. (How can we reduce the sync time interval to 1 mins ?)
We would like to update the build info immediately on CI build panel as soon Jenkins job completes the build.
It will be really helpful if you could resolve our problem with Jira Jenkins integration issue ASAP