Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

209
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda