This plugin provides seamless integration with AssertThat - BDD Test Automation in Jira
AssertThat BDD Jira Plugin
Main features are:
- Download feature files before test run
- Filter features to download based on mode (automated/manual/both), or/and JQL
- Upload cucumber or karate json after the run to AsserTthat BDD Jira plugin
Create credentials
Usage in Job
Download feature files:
Upload reports:
Usage in pipeline Job
pipeline {
    agent any 
    stages {
        stage('Features') { 
            steps {
                //Download feature files
                assertthatBddFeatures(credentialsId: '10005', jql: 'project=DEMO', mode: 'automated', outputFolder: 'features', projectId: '10005')
            }
        }
        stage('Run tests') { 
            steps {
                //Run tests here
            }
        }
    }
    post{
        always{
                //Upload test results
                assertthatBddReport(credentialsId: '10005', jsonReportFolder: 'report', jsonReportIncludePattern: '**/*.json', projectId: '10005', runName: 'Smoke test run', type: 'karate')
        }
    }