Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-39663] Allow issue template to be customised per-job
- Loading branch information
Showing
3 changed files
with
58 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/main/resources/org/jenkinsci/plugins/githubissues/GitHubIssueNotifier/config.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> | ||
<f:block> | ||
<f:optionalBlock name="useCustomTemplate" inline="true" title="Customize issue template" checked="${instance.useCustomTemplate}"> | ||
<f:entry title="Issue Title Template" field="customTitle"> | ||
<f:textbox default="${descriptor.issueTitle}" /> | ||
</f:entry> | ||
<f:entry title="Issue Body Template" field="customBody"> | ||
<f:textarea default="${descriptor.issueBody}" /> | ||
</f:entry> | ||
<f:entry title="Issue Label" field="customLabel"> | ||
<f:textbox default="${descriptor.issueLabel}" /> | ||
</f:entry> | ||
</f:optionalBlock> | ||
</f:block> | ||
</j:jelly> |