A CLI application that will nag your developers about their Jira tickets.
- Generate a Personal Access Token in JIRA (https://issues.redhat.com/secure/ViewProfile.jspa?selectedTab=com.atlassian.pats.pats-plugin:jira-user-personal-access-tokens)
- Create an
.env
file in the root of this project with the following variables:
APP_JIRA_TOKEN=your-jira-token
You can run your application in dev mode that enables live coding using:
./mvnw clean compile quarkus:dev
A profile is a JIRA Query mapped to an email template.
To create a new profile:
- Create the Qute template in the
emails/
directory. (eg.reviewIssues.html
) - Include the JIRA query in the application.properties file.
app.profiles.reviewIssues=project = Quarkus AND fixVersion = 2.13-Fireball.GA AND status in ("To Do", "Analysis in Progress", "Ready For Dev") AND component in ("team/eng") AND assignee is not EMPTY ORDER BY key ASC
- Run the application using the
app.profile
that is set to the name of the query (eg.-Dapp.profile=reviewIssues
)
You can set the app.profile
value before running the application to use a specific profile (must exist in application.properties
).
```bash
APP_PROFILE=reviewIssues ./run.sh