Templates for ticket input¶
SourceLab offers the possibility to add templates for ticket's input. These templates enforce nothing: users can ignore them. They still help structure the tickets opened against a project, and highlight the information that is often needed.
The templates are provided in the git repository containing the meta-data for the tickets. They must be placed under a templates folder in this git repository, end with .md and as the extension suggests can be formatted as markdown.
If you create a template templates/default.md, it will be shown by default when someone ask to create a new ticket.
Example¶
For a project named test on pagure.io.
- First, clone the ticket git repo1 and move into it
- Create the templates folder
- Create a default template
And place in this file the following content:
- Commit and push the changes to the git repo
- And this is how it will look like

-
The URLs to the different git repositories can be found on the main page of the project, on the right-side menu, under the section
Source GIT URLs. Click onmoreto see them if you are logged in and have access to the repository (the ticket and request git repositories require acommitaccess or higher). ↩