https://github.com/trendev/nfr-jql-command-generator
A tool to generate JQL commands for managing Non-Functional Requirements (NFR) in Jira. This script reads NFR labels from a JSON file and creates a CSV file with corresponding JQL commands, enabling efficient NFR tracking and management in Jira.
https://github.com/trendev/nfr-jql-command-generator
Last synced: about 1 year ago
JSON representation
A tool to generate JQL commands for managing Non-Functional Requirements (NFR) in Jira. This script reads NFR labels from a JSON file and creates a CSV file with corresponding JQL commands, enabling efficient NFR tracking and management in Jira.
- Host: GitHub
- URL: https://github.com/trendev/nfr-jql-command-generator
- Owner: trendev
- License: mit
- Created: 2024-07-05T15:28:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-05T16:45:40.000Z (almost 2 years ago)
- Last Synced: 2025-01-14T06:30:31.396Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nfr-jql-command-generator
A tool to generate JQL commands for managing Non-Functional Requirements (NFR) in Jira. This script reads NFR labels from a JSON file and creates a CSV file with corresponding JQL commands, enabling efficient NFR tracking and management in Jira.
## Features
- Reads NFR labels from a JSON file.
- Sorts the NFR labels alphabetically.
- Generates JQL commands for each NFR label.
- Exports the JQL commands to a CSV file.
## Prerequisites
- [Go](https://golang.org/doc/install) installed on your machine.
## Getting Started
### 1. Clone the Repository
```sh
git clone https://github.com/trendev/nfr-jql-command-generator.git
cd nfr-jql-command-generator
```
### 2. Run the Go Program
Make sure you have the `labels.json` file in the root directory of the project, then run the following command:
```sh
go run main.go
```
### 3. Check the Output
After running the program, a file named `NFR_JQL_Scripts.csv` will be created in the root directory containing the JQL commands for each NFR label.
## Disclaimer
The CSV export includes double quotes around the JQL command to ensure compatibility with CSV format standards. This is necessary to ensure that the CSV file can be correctly imported into tools such as Excel or other spreadsheet applications. Without these double quotes, the file might not be correctly parsed by such tools.