git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [off topic] Git hook and integration for JIRA
@ 2020-07-18 17:21 Jason Pyeron
  2020-07-18 17:30 ` Paul Smith
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Pyeron @ 2020-07-18 17:21 UTC (permalink / raw)
  To: git

On our open source / public projects JIRA [1] instance (read as 0$ cost) we would like to have our git commits show up.

If we were using Atlassian Bitbucket, this would be a seamless integration. But Bitbucket is not what we are looking for. It is free for our open source projects, but is just one more server to maintain.

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.

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.

Thoughts?

On a side note, we will also like to support [3] github.com pull requests in some form or fashion.

1: https://www.pdinc.us/public/jira/
2: https://issues.apache.org/jira/browse/WW-5069?focusedCommentId=17092794&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17092794
3: https://hibernate.atlassian.net/browse/HHH-13690
4: https://www.atlassian.com/software/jira/bitbucket-integration
5: https://marketplace.atlassian.com/apps/4984/git-integration-for-jira?hosting=server&tab=overview



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [off topic] Git hook and integration for JIRA
  2020-07-18 17:21 [off topic] Git hook and integration for JIRA Jason Pyeron
@ 2020-07-18 17:30 ` Paul Smith
  2020-07-18 19:24   ` Bryan Turner
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Smith @ 2020-07-18 17:30 UTC (permalink / raw)
  To: Jason Pyeron, git

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).


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [off topic] Git hook and integration for JIRA
  2020-07-18 17:30 ` Paul Smith
@ 2020-07-18 19:24   ` Bryan Turner
  0 siblings, 0 replies; 3+ messages in thread
From: Bryan Turner @ 2020-07-18 19:24 UTC (permalink / raw)
  To: paul; +Cc: Jason Pyeron, Git Users

On Sat, Jul 18, 2020 at 10:30 AM Paul Smith <paul@mad-scientist.net> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-18 19:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-18 17:21 [off topic] Git hook and integration for JIRA Jason Pyeron
2020-07-18 17:30 ` Paul Smith
2020-07-18 19:24   ` Bryan Turner

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).