I am using Gerrit and Jira. I want to connect with gerrit to Jira. When I review the code and comment something it will automatically update the jira comment as well. How to do this?
In your gerrit.config file try this:
[commentlink "jira"]
match = ([A-Z]+-[0-9]+)
link = http://your.jirs_side.net/browse/$1
Here's more information regarding the commentlink section.
Via this link you will find a list of several official gerrit plugins such as:
hooks-jira : Plugin to integrate with Atlassian JIRA
its-jira : Plugin to integrate with Atlassian JIRA. New project for 'plugins/hooks-jira'.
I personally use jirret, which is easy to understand and modify
I think you should use a plugin to connect Jira and gerrit. You can download a plugin by using below link.
https://marketplace.atlassian.com/plugins/com.meetme.plugins.jira.gerrit-plugin
Related
Is there a way that I can create a new task in Jira by writing code in Jenkinsfile, I found the plugin to update the task but didn't got anything to create a new task.
You could use curl to create an issue via the JIRA REST api.
Without knowing what you've tried and what errors you've received (if any), it's kind of difficult to be more specific.
Got a plugin which actually integrates Jira with Jenkins when you are using jenkinsfile. Jira-Pipeline plugin
Usage and documentation is described in the plugin itself.
I was trying to get an SVN, Jenkins and Jira integration going. The aim being to change the status of a ticket/issue to 'Fixed' when it is referred to in an SCM comment. The process being orchestrated by Jenkins. The flow details are
developer puts in the Jira ticket number (MDP-1) on an SVN commit
message.
The build is kicked off in JenkinsJenkins (using the Jira
plugin) can figure out the Jira ticket referred to it in the SVN
commit message. It updates the Jira ticket by putting in a Jira
comment.
So far, this is working great!
Now, I also want to change
the status of the ticket to 'fixed'. I am trying to use the Jenkins
step (Progress jenkins issues by workflow action). I am unable to
access the Jira issue ID/ticket number.
I know, under the hood, the Jira plugin has access to this. Thats why it is able to put in a comment to the Jira ticket in the first case. Question is how/what variable do I use to get access to this Jira ticket# in Jenkins
I actually got this working with another Jenkins plugin (https://wiki.jenkins-ci.org/display/JENKINS/Jira-Ext+Plugin).
This captures the Jira issue_id(s) captured in the SCM commit message and exposes them in an environment variable.
Just what I was looking for!
I want to create custom JIRA board plugin.
Is this possible at all?
I went through https://developer.atlassian.com but I can't find anything useful.
Here is a list of addon types you can create for JIRA standalone:
https://developer.atlassian.com/display/JIRADEV/JIRA+Plugin+Module+Types
I believe that you want to create a gadget for a JIRA board:
https://developer.atlassian.com/display/GADGETS/Packaging+your+Gadget+as+an+Atlassian+Plugin
I'm trying to link Gitlab commit messages to JIRA, that is, if a user commits such as:
PROJECT-ID: Some commit message
Then through the Gitlab UI, it links these commit messages to JIRA.
The only way I can seem to do this at the moment takes control of issue tracking itself from Gitlab and links the "Issue" user interface button in Gitlab back to JIRA.
I'd like to still manage and raise issues in Gitlab, but just have Gitlab link any formatted commit messages to JIRA.
I'm using the community addtion
Unless you set GitLab to use JIRA as your issue tracker, you can't make it link formatted commit messages to JIRA automatically.
You can do this only if you set JIRA to be your issue tracker in GitLab. You can find information about doing that here: http://doc.gitlab.com/ee/integration/jira.html
UPDATE: As Peter said, this functionality is only available using GitLab's Enterprise Edition.
UPDATE: As jalanb stated in the comment below, this functionality is now available in the community edition as well.
There is also the lesstif/gitlab-jira-integration open source solution, that I haven't tried yet myself. It is only a few commits, but I myself considered this approach so it must be sound ;-)
I'm a little confused though. You write you want to use Jira and "I'd like to still manage and raise issues in Gitlab, but just have Gitlab link any formatted commit messages to JIRA." I'm not sure you can get the supertight integration you're looking for. Or maybe I misunderstand.
I am new to bitbucket and cloudbees. Is anyone aware of the ways to connect them. Any detailed documentation about integrating them with complete details of output. Please help I am stuck with this for 3 days. Thanks in advance for your help.
I just released bitbucket jenkins plugin to address this use-case, as bitbucket "jenkins" hook is really poor and offer minimal service. Let me know your account ID if you want me to install it, and configure a "POST" hook on your repo with URL https://.ci.cloudbees.com/bitbucket-hook (no need for credentials)
I also updated http://wiki.cloudbees.com/bin/view/DEV/Bitbucket to reflect this new option.