Forums

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

How to list the fields we can import via the JSON importing tool ?

Pong - Phongsathorn Eakamongul
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 6, 2018

From the users specific JSON file examples ( https://confluence.atlassian.com/adminjiraserver071/importing-data-from-json-802592907.html ), we know that we can import some fields.

For example, 

"users": [ 
  {
    "name" : "someuser",
    "groups" : [ "jira-users", "my-custom-group" ],
    "active" : true,
    "email" : "user1@example.com",
    "fullname" : "User 1"
  }
]

 

Is it possible to list out all the fields that we can put into the JSON file to import to JIRA system ?

 

 

1 answer

0 votes
Tom Lister
Community Champion
November 7, 2018

Hi @Pong - Phongsathorn Eakamongul

I've found the quickest way to get a picture of the JSON structure is to retrieve an issue via REST as an example e.g.

http://localhost:8080/rest/api/2/issue/COOL-1

The customerfield_????? reference numbers can be obtained from the

SELECT * FROM jiradb.customfield;

ID field

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events