Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Import Issues using JSON interface

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you