Auto-linking from PRs to Jira tickets

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Auto-linking from PRs to Jira tickets

Nicholas Chammas

GitHub has a feature for auto-linking from PRs to external tickets. It's only available for their paid plans, but perhaps Apache has some arrangement with them where we can get that feature.

Since we include Jira ticket numbers in every PR title, it would be great if each PR auto-linked back to the relevant Jira tickets. (We already have auto-linking from Jira to PRs.)

Has someone looked into this already, or should I file a ticket with INFRA and see what they say?

Nick

Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Holden Karau
I think we used to do this with the same bot that runs the PR dashboard, is it no longer working?

On Mon, Mar 9, 2020 at 12:28 PM Nicholas Chammas <[hidden email]> wrote:

GitHub has a feature for auto-linking from PRs to external tickets. It's only available for their paid plans, but perhaps Apache has some arrangement with them where we can get that feature.

Since we include Jira ticket numbers in every PR title, it would be great if each PR auto-linked back to the relevant Jira tickets. (We already have auto-linking from Jira to PRs.)

Has someone looked into this already, or should I file a ticket with INFRA and see what they say?

Nick

--
Books (Learning Spark, High Performance Spark, etc.): https://amzn.to/2MaRAG9 
Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Nicholas Chammas
This is a feature of GitHub itself and would auto-link directly from the PR back to Jira.

I haven't looked at the PR dashboard in a while, but I believe you're referencing a feature of the dashboard that people won't get unless they look at the dashboard itself.

What GitHub is offering is an ability to auto-link any mention of a Jira ticket anywhere in a PR discussion (and hopefully also in the PR title, though I'm not sure) directly back to Jira.

I suppose if you're in the habit of using the dashboard regularly it won't make a big difference. I typically land on a PR via a notification in GitHub or via email. If I want to lookup the referenced Jira ticket, I have to copy it from the PR title and navigate to issues.apache.org and paste it in.

On Mon, Mar 9, 2020 at 4:46 PM Holden Karau <[hidden email]> wrote:
I think we used to do this with the same bot that runs the PR dashboard, is it no longer working?

On Mon, Mar 9, 2020 at 12:28 PM Nicholas Chammas <[hidden email]> wrote:

GitHub has a feature for auto-linking from PRs to external tickets. It's only available for their paid plans, but perhaps Apache has some arrangement with them where we can get that feature.

Since we include Jira ticket numbers in every PR title, it would be great if each PR auto-linked back to the relevant Jira tickets. (We already have auto-linking from Jira to PRs.)

Has someone looked into this already, or should I file a ticket with INFRA and see what they say?

Nick

--
Books (Learning Spark, High Performance Spark, etc.): https://amzn.to/2MaRAG9 
Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Holden Karau


On Mon, Mar 9, 2020 at 2:14 PM Nicholas Chammas <[hidden email]> wrote:
This is a feature of GitHub itself and would auto-link directly from the PR back to Jira.

I haven't looked at the PR dashboard in a while, but I believe you're referencing a feature of the dashboard that people won't get unless they look at the dashboard itself.

What GitHub is offering is an ability to auto-link any mention of a Jira ticket anywhere in a PR discussion (and hopefully also in the PR title, though I'm not sure) directly back to Jira.
so the dashboard has a bot which would update the JIRA tickets based on the PRs. It might be broken though.

I suppose if you're in the habit of using the dashboard regularly it won't make a big difference. I typically land on a PR via a notification in GitHub or via email. If I want to lookup the referenced Jira ticket, I have to copy it from the PR title and navigate to issues.apache.org and paste it in.

On Mon, Mar 9, 2020 at 4:46 PM Holden Karau <[hidden email]> wrote:
I think we used to do this with the same bot that runs the PR dashboard, is it no longer working?

On Mon, Mar 9, 2020 at 12:28 PM Nicholas Chammas <[hidden email]> wrote:

GitHub has a feature for auto-linking from PRs to external tickets. It's only available for their paid plans, but perhaps Apache has some arrangement with them where we can get that feature.

Since we include Jira ticket numbers in every PR title, it would be great if each PR auto-linked back to the relevant Jira tickets. (We already have auto-linking from Jira to PRs.)

Has someone looked into this already, or should I file a ticket with INFRA and see what they say?

Nick

--
Books (Learning Spark, High Performance Spark, etc.): https://amzn.to/2MaRAG9 
--
Books (Learning Spark, High Performance Spark, etc.): https://amzn.to/2MaRAG9 
Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Nicholas Chammas
Right, what I'm talking about is linking in the other direction, from GitHub to Jira.

i.e. you can type "SPARK-1234" in plain text on a PR, and GitHub will automatically turn it into a link to the appropriate ticket on Jira.

On Mon, Mar 9, 2020 at 8:21 PM Holden Karau <[hidden email]> wrote:


On Mon, Mar 9, 2020 at 2:14 PM Nicholas Chammas <[hidden email]> wrote:
This is a feature of GitHub itself and would auto-link directly from the PR back to Jira.

I haven't looked at the PR dashboard in a while, but I believe you're referencing a feature of the dashboard that people won't get unless they look at the dashboard itself.

What GitHub is offering is an ability to auto-link any mention of a Jira ticket anywhere in a PR discussion (and hopefully also in the PR title, though I'm not sure) directly back to Jira.
so the dashboard has a bot which would update the JIRA tickets based on the PRs. It might be broken though.

I suppose if you're in the habit of using the dashboard regularly it won't make a big difference. I typically land on a PR via a notification in GitHub or via email. If I want to lookup the referenced Jira ticket, I have to copy it from the PR title and navigate to issues.apache.org and paste it in.

On Mon, Mar 9, 2020 at 4:46 PM Holden Karau <[hidden email]> wrote:
I think we used to do this with the same bot that runs the PR dashboard, is it no longer working?

On Mon, Mar 9, 2020 at 12:28 PM Nicholas Chammas <[hidden email]> wrote:

GitHub has a feature for auto-linking from PRs to external tickets. It's only available for their paid plans, but perhaps Apache has some arrangement with them where we can get that feature.

Since we include Jira ticket numbers in every PR title, it would be great if each PR auto-linked back to the relevant Jira tickets. (We already have auto-linking from Jira to PRs.)

Has someone looked into this already, or should I file a ticket with INFRA and see what they say?

Nick

--
Books (Learning Spark, High Performance Spark, etc.): https://amzn.to/2MaRAG9 
--
Books (Learning Spark, High Performance Spark, etc.): https://amzn.to/2MaRAG9 
Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Holden Karau
Oh got it. That sounds cool.

On Mon, Mar 9, 2020 at 6:25 PM Nicholas Chammas <[hidden email]> wrote:
Right, what I'm talking about is linking in the other direction, from GitHub to Jira.

i.e. you can type "SPARK-1234" in plain text on a PR, and GitHub will automatically turn it into a link to the appropriate ticket on Jira.

On Mon, Mar 9, 2020 at 8:21 PM Holden Karau <[hidden email]> wrote:


On Mon, Mar 9, 2020 at 2:14 PM Nicholas Chammas <[hidden email]> wrote:
This is a feature of GitHub itself and would auto-link directly from the PR back to Jira.

I haven't looked at the PR dashboard in a while, but I believe you're referencing a feature of the dashboard that people won't get unless they look at the dashboard itself.

What GitHub is offering is an ability to auto-link any mention of a Jira ticket anywhere in a PR discussion (and hopefully also in the PR title, though I'm not sure) directly back to Jira.
so the dashboard has a bot which would update the JIRA tickets based on the PRs. It might be broken though.

I suppose if you're in the habit of using the dashboard regularly it won't make a big difference. I typically land on a PR via a notification in GitHub or via email. If I want to lookup the referenced Jira ticket, I have to copy it from the PR title and navigate to issues.apache.org and paste it in.

On Mon, Mar 9, 2020 at 4:46 PM Holden Karau <[hidden email]> wrote:
I think we used to do this with the same bot that runs the PR dashboard, is it no longer working?

On Mon, Mar 9, 2020 at 12:28 PM Nicholas Chammas <[hidden email]> wrote:

GitHub has a feature for auto-linking from PRs to external tickets. It's only available for their paid plans, but perhaps Apache has some arrangement with them where we can get that feature.

Since we include Jira ticket numbers in every PR title, it would be great if each PR auto-linked back to the relevant Jira tickets. (We already have auto-linking from Jira to PRs.)

Has someone looked into this already, or should I file a ticket with INFRA and see what they say?

Nick

--
Books (Learning Spark, High Performance Spark, etc.): https://amzn.to/2MaRAG9 
--
Books (Learning Spark, High Performance Spark, etc.): https://amzn.to/2MaRAG9 
--
Books (Learning Spark, High Performance Spark, etc.): https://amzn.to/2MaRAG9 
Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Alex Ott
In reply to this post by Nicholas Chammas
For Zeppelin I've created recently the ASF INFRA Jira for that feature...
Although maybe it should be done for all projects.

Nicholas Chammas  at "Mon, 9 Mar 2020 15:27:30 -0400" wrote:
 NC> https://github.blog/2019-10-14-introducing-autolink-references/

 NC> GitHub has a feature for auto-linking from PRs to external tickets. It's only available for their paid plans, but perhaps Apache has some
 NC> arrangement with them where we can get that feature.

 NC> Since we include Jira ticket numbers in every PR title, it would be great if each PR auto-linked back to the relevant Jira tickets. (We
 NC> already have auto-linking from Jira to PRs.)

 NC> Has someone looked into this already, or should I file a ticket with INFRA and see what they say?

 NC> Nick



--
With best wishes,                    Alex Ott
http://alexott.net/
Twitter: alexott_en (English), alexott (Russian)

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Nicholas Chammas
Could you point us to the ticket? I'd like to follow along.

On Tue, Mar 10, 2020 at 9:13 AM Alex Ott <[hidden email]> wrote:
For Zeppelin I've created recently the ASF INFRA Jira for that feature...
Although maybe it should be done for all projects.

Nicholas Chammas  at "Mon, 9 Mar 2020 15:27:30 -0400" wrote:
 NC> https://github.blog/2019-10-14-introducing-autolink-references/

 NC> GitHub has a feature for auto-linking from PRs to external tickets. It's only available for their paid plans, but perhaps Apache has some
 NC> arrangement with them where we can get that feature.

 NC> Since we include Jira ticket numbers in every PR title, it would be great if each PR auto-linked back to the relevant Jira tickets. (We
 NC> already have auto-linking from Jira to PRs.)

 NC> Has someone looked into this already, or should I file a ticket with INFRA and see what they say?

 NC> Nick



--
With best wishes,                    Alex Ott
http://alexott.net/
Twitter: alexott_en (English), alexott (Russian)
Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Alex Ott
yes - it's https://issues.apache.org/jira/browse/INFRA-19934

Nicholas Chammas  at "Tue, 10 Mar 2020 13:52:23 -0400" wrote:
 NC> Could you point us to the ticket? I'd like to follow along.

 NC> On Tue, Mar 10, 2020 at 9:13 AM Alex Ott <[hidden email]> wrote:

 NC>     For Zeppelin I've created recently the ASF INFRA Jira for that feature...
 NC>     Although maybe it should be done for all projects.
 NC>    
 NC>     Nicholas Chammas  at "Mon, 9 Mar 2020 15:27:30 -0400" wrote:
 NC>      NC> https://github.blog/2019-10-14-introducing-autolink-references/
 NC>    
 NC>      NC> GitHub has a feature for auto-linking from PRs to external tickets. It's only available for their paid plans, but perhaps Apache
 NC>     has some
 NC>      NC> arrangement with them where we can get that feature.
 NC>    
 NC>      NC> Since we include Jira ticket numbers in every PR title, it would be great if each PR auto-linked back to the relevant Jira tickets.
 NC>     (We
 NC>      NC> already have auto-linking from Jira to PRs.)
 NC>    
 NC>      NC> Has someone looked into this already, or should I file a ticket with INFRA and see what they say?
 NC>    
 NC>      NC> Nick

 NC>     --
 NC>     With best wishes,                    Alex Ott
 NC>     http://alexott.net/
 NC>     Twitter: alexott_en (English), alexott (Russian)



--
With best wishes,                    Alex Ott
http://alexott.net/
Twitter: alexott_en (English), alexott (Russian)

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Dongjoon Hyun-2
Thank you, Alex, Nicholas, and Holden.

I filed an INFRA issue for Apache Spark like Zeppelin.


Bests,
Dongjoon.

On Tue, Mar 10, 2020 at 12:03 PM Alex Ott <[hidden email]> wrote:
yes - it's https://issues.apache.org/jira/browse/INFRA-19934

Nicholas Chammas  at "Tue, 10 Mar 2020 13:52:23 -0400" wrote:
 NC> Could you point us to the ticket? I'd like to follow along.

 NC> On Tue, Mar 10, 2020 at 9:13 AM Alex Ott <[hidden email]> wrote:

 NC>     For Zeppelin I've created recently the ASF INFRA Jira for that feature...
 NC>     Although maybe it should be done for all projects.
 NC>   
 NC>     Nicholas Chammas  at "Mon, 9 Mar 2020 15:27:30 -0400" wrote:
 NC>      NC> https://github.blog/2019-10-14-introducing-autolink-references/
 NC>   
 NC>      NC> GitHub has a feature for auto-linking from PRs to external tickets. It's only available for their paid plans, but perhaps Apache
 NC>     has some
 NC>      NC> arrangement with them where we can get that feature.
 NC>   
 NC>      NC> Since we include Jira ticket numbers in every PR title, it would be great if each PR auto-linked back to the relevant Jira tickets.
 NC>     (We
 NC>      NC> already have auto-linking from Jira to PRs.)
 NC>   
 NC>      NC> Has someone looked into this already, or should I file a ticket with INFRA and see what they say?
 NC>   
 NC>      NC> Nick

 NC>     --
 NC>     With best wishes,                    Alex Ott
 NC>     http://alexott.net/
 NC>     Twitter: alexott_en (English), alexott (Russian)



--
With best wishes,                    Alex Ott
http://alexott.net/
Twitter: alexott_en (English), alexott (Russian)

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

shane knapp ☠
In reply to this post by Alex Ott
oh this is badass...  i really like it!

On Tue, Mar 10, 2020 at 12:03 PM Alex Ott <[hidden email]> wrote:
yes - it's https://issues.apache.org/jira/browse/INFRA-19934

Nicholas Chammas  at "Tue, 10 Mar 2020 13:52:23 -0400" wrote:
 NC> Could you point us to the ticket? I'd like to follow along.

 NC> On Tue, Mar 10, 2020 at 9:13 AM Alex Ott <[hidden email]> wrote:

 NC>     For Zeppelin I've created recently the ASF INFRA Jira for that feature...
 NC>     Although maybe it should be done for all projects.
 NC>   
 NC>     Nicholas Chammas  at "Mon, 9 Mar 2020 15:27:30 -0400" wrote:
 NC>      NC> https://github.blog/2019-10-14-introducing-autolink-references/
 NC>   
 NC>      NC> GitHub has a feature for auto-linking from PRs to external tickets. It's only available for their paid plans, but perhaps Apache
 NC>     has some
 NC>      NC> arrangement with them where we can get that feature.
 NC>   
 NC>      NC> Since we include Jira ticket numbers in every PR title, it would be great if each PR auto-linked back to the relevant Jira tickets.
 NC>     (We
 NC>      NC> already have auto-linking from Jira to PRs.)
 NC>   
 NC>      NC> Has someone looked into this already, or should I file a ticket with INFRA and see what they say?
 NC>   
 NC>      NC> Nick

 NC>     --
 NC>     With best wishes,                    Alex Ott
 NC>     http://alexott.net/
 NC>     Twitter: alexott_en (English), alexott (Russian)



--
With best wishes,                    Alex Ott
http://alexott.net/
Twitter: alexott_en (English), alexott (Russian)

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]



--
Shane Knapp
Computer Guy / Voice of Reason
UC Berkeley EECS Research / RISELab Staff Technical Lead
https://rise.cs.berkeley.edu
Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Dongjoon Hyun-2
Hi, All.

Autolinking from PR to JIRA started.

*Inside PR*

*Inside commit log*

You don't need to add hyperlink to `SPARK-XXX` manually from now.

Bests,
Dongjoon.
Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Takeshi Yamamuro
Cool! Thanks, Dongjoon!

Bests,
Takeshi

On Thu, Mar 12, 2020 at 8:27 AM Dongjoon Hyun <[hidden email]> wrote:
Hi, All.

Autolinking from PR to JIRA started.

*Inside PR*

*Inside commit log*

You don't need to add hyperlink to `SPARK-XXX` manually from now.

Bests,
Dongjoon.


--
---
Takeshi Yamamuro
Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Hyukjin Kwon
Cool, nice!

2020년 3월 12일 (목) 오전 8:54, Takeshi Yamamuro <[hidden email]>님이 작성:
Cool! Thanks, Dongjoon!

Bests,
Takeshi

On Thu, Mar 12, 2020 at 8:27 AM Dongjoon Hyun <[hidden email]> wrote:
Hi, All.

Autolinking from PR to JIRA started.

*Inside PR*

*Inside commit log*

You don't need to add hyperlink to `SPARK-XXX` manually from now.

Bests,
Dongjoon.


--
---
Takeshi Yamamuro
Reply | Threaded
Open this post in threaded view
|

Re: Auto-linking from PRs to Jira tickets

Holden Karau
Thanks for setting this up, it’s awesome :)

On Wed, Mar 11, 2020 at 6:03 PM Hyukjin Kwon <[hidden email]> wrote:
Cool, nice!

2020년 3월 12일 (목) 오전 8:54, Takeshi Yamamuro <[hidden email]>님이 작성:
Cool! Thanks, Dongjoon!

Bests,
Takeshi

On Thu, Mar 12, 2020 at 8:27 AM Dongjoon Hyun <[hidden email]> wrote:
Hi, All.

Autolinking from PR to JIRA started.

*Inside PR*

*Inside commit log*

You don't need to add hyperlink to `SPARK-XXX` manually from now.

Bests,
Dongjoon.


--
---
Takeshi Yamamuro
--
Books (Learning Spark, High Performance Spark, etc.): https://amzn.to/2MaRAG9