How can I populate 'CI Builds' within JIRA issue. Currently, I am Jenkins as CI/CD tool. My understanding is that when a particular Jenkins job is run, CI builds will be updated with relevant information about the release, list of files changed etc.
Hello Kalyan,
Jenkins and Jira together can be a powerhouse duo. Getting Jenkins to talk back to Jira can be a little bit of work. I would like to state that I am no Jenkins expert, but I do use Jenkins. With this said, it looks as though there is a Jenkins Plugin which should meet your needs.
The plugin is called Jira Issue Updater Plugin. The plugin states the following:
This is a Jenkins plugin which updates issues in Atlassian JIRA (by changing their status, adding a comment or updating fields) as part of a Jenkins job.
Jira-Issue-Updater-Plugin can search for issues to update using a flexible, user-definable JQL which can contain arbitrary variable values from the Jenkins Build, and update the contents of the JIRA.
The plugin can be called during a Post Build Step and/or as a Post Build Action.Common Use Cases:
- Update a JIRA when a build passes/fails, for example to keep an audit trail in JIR
- Update Fixed Versions in JIRA
- Fail a build if a JIRA cannot be found
I hope you find this helpful.
Regards,
Stephen Sifers
My jenkins instance is behind the firewall so I cannot directly update CI builds tab within JIRA issue. However, as suggested by you, I used JIRA issue updater plugin and updated the comments section with the build information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In order to populate the "CI Builds" field in Jenkins, as it seems to come from the "Jenkins Integration for Jira" plugin, you would need their "Jira Integration for Jenkins" plugin as well on your Jenkins server.
https://docs.marvelution.org/jji/server/release-notes
https://docs.marvelution.org/jji/server
JIRA: Jenkins Integration for Jira
Jenkins: Jira Integration for Jenkins
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.