Well, I did some testing and GitHub _does_ have templates for pull requests 
[1]. However, multiple 
templates can only be accessed by adding the ?template parameter to the url 
(which is not 
something anyone wants to do). However, a pull_request_template.md template 
created inside the 
.github directory will be used as default template for pull requests (even when 
issues are disabled).

As example, u can use [2] for testing expected behavior. A field can be added 
as part of the default
template which asks for the Jira ticket ID.

[1] 
https://help.github.com/en/github/building-a-strong-community/creating-a-pull-request-template-for-your-repository
[2] https://github.com/lenferink/test/compare/master...rlenferink-patch-1

On 2020/04/23 14:48:10, Jonathan Valliere <[email protected]> wrote: 
> It looks like issues tab is disabled but github marks pull requests as
> issues so it was confusing.  It also seems that github does not have
> templates for pull requests like it does for issues otherwise we could note
> in the template to link the request in JIRA.
> 
> On Thu, Apr 23, 2020 at 10:26 AM Roy Lenferink <[email protected]>
> wrote:
> 
> > *Me not having read the completely thread and jumping in*
> >
> > There is a possibility to disable GitHub repository features by using the
> > .asf.yaml.
> > It can be used to enable/disable the issues tab on GitHub:
> >
> >
> > https://cwiki.apache.org/confluence/display/INFRA/.asf.yaml+features+for+git+repositories#id-.asf.yamlfeaturesforgitrepositories-Repositoryfeatures
> >
> > Forcing them to Jira is not possible as far as I know.
> >
> > On 2020/04/23 13:48:46, Emmanuel Lécharny <[email protected]> wrote:
> > >
> > > On 23/04/2020 15:42, jon-valliere wrote:
> > > >
> > > > Is there any way to disable issues on github and force everyone to use
> > > > JIRA?
> > > >
> > >
> > > I don't think so.
> > >
> > >
> > > The best is to kindly ask people to fill a JIRA pointing to the GH PR.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to