Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

197
Views
How to add test type: Cucumber to JIRA Issue created via REST API

I want to create an issue in Jira via jira-connect IssueType: XRAY TEST I want to add the Test Type as Cucumber

const JiraClient = require("jira-connector");

const createStory = async () => {
    try {
        // Create Client
        const jira = new JiraClient({
            host: "XXX.atlassian.net",
            basic_auth: {
                email: "xxxx@yyy.in",
                api_token: "XxxxxxxxxxX"
            }
        });
        // Create ISSUE
        const res = await jira.issue.createIssue(
            {
                fields: {
                    project: {
                        key: 'PRO'
                    },
                    summary: "SDK POST 91",
                    description: "Something goes here !!!!",
                    issuetype: { name: 'Xray Test' },
                    labels: [
                        "test_report",
                        "automation"
                    ],
                },
            }
        );
        console.log(res)
        return res
    } catch (error) {
        console.log(error);
        throw error
    }
}
createStory()

I want to add test type: Cucumber Eg: Any idea?

You can find the sample code above

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!