Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.38 KB

README.adoc

File metadata and controls

33 lines (19 loc) · 1.38 KB

JIRA to AsciiDoc Exporter

Create AsciiDoc lists from a JIRA query

Example Output

The script produces AsciiDoc like the following:

* link:https://issues.redhat.com/browse/QUARKUS-1553[QUARKUS-1553] Update SmallRye Config to 2.5.0
* link:https://issues.redhat.com/browse/QUARKUS-1564[QUARKUS-1564] Use proper wait-time for jar and docker launch modes

Which renders like this:

Prerequisite

You must install JBang which can be (easily) obtained by following the instructions on https://www.jbang.dev/.

You will need to create a JIRA personal access token. This option is available from the your Profile area in JIRA. This is the link used for the issues.redhat.com JIRA server to get to that page: https://issues.redhat.com/secure/ViewProfile.jspa?selectedTab=com.atlassian.pats.pats-plugin:jira-user-personal-access-tokens

Usage

Run the script as follows:

jbang ./run.java -t <JIRA Personal Access Token> -s <JIRA Server Base URL> -q <JIRA JQL Query>

For example:

jbang ./run.java -t 'S3cR3tT0k4nFr0mJIr4' -s https://issues.redhat.com -q "project = QUARKUS AND issuetype = Bug AND fixVersion = 2.2.4.GA AND component = 'team/eng' ORDER BY priority DESC"