JIRA Spoke Issue - not able to set Project Key & Issue Type Dynamically

Bharat Shinde
Tera Contributor

Hi Team,

 

I am using JIRA Spoke to create issue/bug in jira from ServiceNow.

In Jira Spoke - Create Issue Action, when I set  Project Key & Issue Type from dropdown it works.

 

But I wanted to dynamically set the Project Key & Issue Type which i am taking from Incident record (string field). Here I am getting error: "Action Status": { "code": 1, "message": "Error: Cannot read property \"issuetypes\" from undefined,Detail: Cannot read property \"issuetypes\" from undefined" }

 

BharatShinde_0-1711706199510.png

BharatShinde_1-1711706247414.png

 

Any help appreciated!

Regards,

Bharat. 

5 REPLIES 5

Josh Gold
Tera Expert

Hi @Bharat Shinde, if your organization is open to 3rd party integrations, you can sync  ServiceNow records to Jira issues with Unito. It's much easier than configuring spokes. It's a no-code platform so each integration can be set up without needing to write script. You can set parameters for each individual field to sync them 1-way or 2-way, depending on what you need. 

Here's a step-by-step guide on how to sync issues to records with 2-way updates. And here's more general information about Unito's integration for ServiceNow.

 

Let me know if I can help further! 

nshar100
Tera Contributor

HI Bharath,

I am facing the same error. Have you been able to find a solution?

RajiniSreeS
Tera Expert

Any solution to set the project key and issue type dynamically?

Binh Truong
Tera Contributor

We successfully made it work by using the inline scripts to dynmcally popualted the project key and issue type however every once in the awhile it doesn't work due to Jira connection. Still trying to figure that part out