Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to create jira issue using groovy as the ticket is having a parent and child field

Gyanendra Ojha August 1, 2023

I am trying to define the parent and child fields while creating the Jira ticket using Groovy pipeline but it keeps getting failed due to the below error.

 

The child field dropdown gets changed on the basis of the value selected in the parent field

My code is like:-

 

//Country

customfield_24161:[value:'US'], 

//City in that country US
//customfield_24161: child: [value: 'Washington']},

 

I am getting the below error

errorMessages":[],"errors":{"customfield_24161":"Specify a valid option 'name' for Country"}}

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events