Quiero crear un problema en Jira a través de jira-connect Tipo de problema: PRUEBA DE RAYOS X Quiero agregar el Tipo de prueba como 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() Quiero agregar el tipo de prueba: Pepino
¿Alguna idea?
Puede encontrar el código de muestra arriba