databricks / spark-pr-dashboard

Dashboard to aid in Spark pull request reviews
spark-prs.appspot.com
Apache License 2.0
54 stars 46 forks source link

Link PR to JIRA #77

Closed ajbozarth closed 8 years ago

ajbozarth commented 8 years ago

Currently when a new pr is opened a link to it is added to it's associated JIRA. Can we add the reverse of this? Can their be an automated post on the PR with a link to the JIRA? Many discussions on a PR reference the JIRA but there's currently no quick way to open it to look at them. I'd submit a PR, but I don't have the bandwidth right now and I'm not quite sure how this part of the project works.

@JoshRosen

JoshRosen commented 8 years ago

I think that I've seen people using Greasemonkey userscripts to automatically hotlink any SPARK-.* JIRA references which appear in GitHub comments or issue titles. I think that's preferable to increasing the number of automated comments on PRs.

ajbozarth commented 8 years ago

I agree limiting the comments is good, any chance one of those scripts is posted somewhere publicly?

lins05 commented 8 years ago

Here is a simple greasemonkey script I wrote to auto link SPARK-XXXX in github issue titles: http://paste.openstack.org/raw/583547/

screen shot 2016-09-30 at 3 54 11 am