The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events