Import Issues using JSON interface

Parwaiz Alawi February 6, 2020

HI all,

I have a custom field dropdown menu with some strings. For instance: Location with Boston, Jerusalem, Tokio ...

I use the JSON interface to mass import issues in ower Jira. Like.:

 

{
    "issueUpdates": [
 {
  "fields": {
  "project":
     {
     "key": "GWBW"
     },
    "labels": ["iam"],
    "summary": "Summary XYZ",
    "customfield.location_14610" : "Tokio",
    "customfield_14602" : "01",
    "issuetype": {
    "name": "Story"
    }
    }
 }
    ]
}

Now I have an error while executing my script. When I remove

"customfield.location_14610" : "Tokio",

everthing is going well.

I guess the problem is the dropdown menu with the default values. My question: How can I refere to those parameters?

Thanks in advance!

 

0 answers

Suggest an answer

Log in or Sign up to answer