Skip to content

Commit e0aefde

Browse files
committed
Add jql filtering for report upload
1 parent e238d30 commit e0aefde

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

bin/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env node
1+
#!/usr/bin/env node
22
'use strict'
33
var program = require('commander');
44
var assertThat = require('../lib/assertthat-bdd');
@@ -19,7 +19,7 @@ program
1919
.option('-n, --runName [NAME]', 'Test run name')
2020
.option('-d, --metadata [FILE PATH]', 'Metadata json file path')
2121
.option('-o, --outputFolder [FOLDER PATH]', 'Jira project id')
22-
.option('-q, --jql [JQL]', 'JQL filter for features')
22+
.option('-q, --jql [JQL]', 'JQL filter for features download and report upload')
2323
.option('-t, --jsonReportIncludePattern [PATTERN]', 'Pattern for json file names')
2424
.option('-x, --proxyURI [URI]', 'Proxy URI')
2525
.option('-b, --numbered [true|false]', 'Append number to feature name on download');

lib/assertthat-bdd.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ async function sendReport(settings, filename, runId){
9393
.field('runName', settings.runName)
9494
.field('metadata', metadata)
9595
.field('runId', runId)
96+
.field('jql', settings.jql)
9697
.attach('file', filename)
9798
return response;
9899
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@assertthat/assertthat-bdd",
3-
"version": "1.7.4",
3+
"version": "1.7.5",
44
"description": "Node.js module for integration with AssertThat BDD Jira plugin",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)