A Graylog event notification plugin for creating Jira issues.
Required Graylog version: 3.1.3 and later
Download the plugin
and place the .jar file in your Graylog plugin directory. The plugin directory
is the plugins/ folder relative from your graylog-server directory by default
and can be configured in your graylog.conf file.
Restart graylog-server and you are done.
Create Jira user, that will be used to create issues - this user will be a reporter of these issues.
Create custom field e.g. Graylog hash for easy duplicate issue search.
Remember to enable this custom field in create issue screen, also allow Jira user (from #1) to fill it and view it.
You will need both id of this field (in format customfield_*) and name.
Create Graylog notification and choose Jira Notification as Notification type.
Input your Jira configuration and preferences. Here is a screenshot of configuration example.
Create Graylog Event definition and set Jira Notification you created at #4 as its Notification.
An issue like below will be created.
Note that this plugin searches for duplicate issue by its description using custom field.
- Fork the repository (https://github.com/unbearables/graylog-plugin-jira/fork)
- Create your feature branch
- Commit your changes
- Rebase your local changes against the main branch
- Make sure your code can be packaged by
mvnwithout any errors - Create a new Pull Request
This project is using Maven 3. Requires Java 8 or higher and yarn.
- Clone this repository.
- Run
mvn packageto build a JAR file. - Copy generated JAR file in target directory to your Graylog plugin directory.
- Restart the Graylog.
Creation of this plugin was inspired by Graylog plugin teams and Graylog jira alarmcallback
