Re: [off topic] Git hook and integration for JIRA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 18, 2020 at 10:30 AM Paul Smith <paul@xxxxxxxxxxxxxxxxx> wrote:
>
> On Sat, 2020-07-18 at 13:21 -0400, Jason Pyeron wrote:
> > An non-ideal implementation [2] looks like a comment. While the
> > native implementation [4] shows up in a nicely organized section of
> > the issue page.
>
> Indeed this is off-topic but AIUI, there is no magic needed to get your
> commits to show up in the *Development* sidebar of a JIRA issue.  All
> you have to do is mention the JIRA in your commit message; if JIRA is
> configured to be able to scan your Git repository it will create those
> links on its own.  I'm not sure if it only hooks up commits which show
> the JIRA issue ID in the first line, or anywhere in the commit message.
>
> In any event at $DAYJOB this is how it works (we do have an on-prem
> install of JIRA though, we don't use the hosted version... maybe that
> has fewer features).

I work for Atlassian as the principal developer for Bitbucket Server
for my $DAYJOB, so I wanted to jump in and clarify that that's not
quite how it actually works. Jira, whether Cloud, Server or Data
Center, doesn't scan Git repositories; repository management software,
like Bitbucket Server or Github or Gitlab, integrate with Jira and,
when they create or receive new commits, they send information about
those commits to Jira. (This is how everything on the Development tab
in Jira works. Builds, branches, Bitbucket pull requests, Crucible
reviews, all of it based on summary information sent by the respective
source system for Jira to record and show.)

Perhaps something like the BigBrassBand app adds repository
scanning/indexing into Jira directly, but out of the box Jira doesn't
have any functionality along that line.

> All roads seem to lead to the non FOSS BigBrassBand [5] git integration plugin. I do not see a non-profit license and it will not fit the (lack of) budget.

I don't think the payload format for populating commit information on
Jira's Development panel is secret (clearly it's been shared with
other organizations to facilitate building and maintaining their
integrations), but I'm also not sure how well-documented it is. I'm
not sure whether you have any development capacity for a
build-your-own solution, but I could investigate what documentation
there is that can be shared if you'd like.

One other thing I'll note is that Bitbucket Cloud (bitbucket.org) also
has Jira integration support (for both Cloud and Server versions of
Jira) and, unlike Bitbucket Server or Data Center, does not require
you to maintain the server. I'd imagine github.com and gitlab.org also
have support, though I don't know whether it's a paid or free feature
for them. I'm not sure whether any of those hosting providers might be
a possible approach, but I thought I'd mention them.

Best regards,
Bryan Turner



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux