Forums

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

Create Custom Fields in Bulk via CSV

Henrique Degan
Contributor
April 27, 2022

I had a question to create many fields in, so I looked for a solution to make this imputation:

3 answers

1 accepted

3 votes
Answer accepted
Henrique Degan
Contributor
April 27, 2022

In search of the answer I managed to arrive and this result, it is not so eutomatized mes attracted me:

Strategy:
1 - Create a JSON where custom field will be created
2 - In a TESTS project or similar, create an issue where the Name of this custom field will be covered, such as ABSTRACT etc...
3 - Create an automation where fire this JSON to create each custom field in the issue creation

Strategy application:
URL:
https://your instance.atlassian.net/rest/api/3//field

1 - Creation of JSON:
{
"name": "New custom field-5",
"type": "com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons"
}
2 - Test project with custom name field: Field name
3 - Automation created with Scheduling Trigger for manual triggering with JQL for issues created on this date
Action:
send web request
Headers (optional)
Content-Type - application/json
Authorization - (Key of your API)

HTTP method*
POST
Web request body*
Custom Date
"Custom date"
{
"name": "{{Field name}}",
"type": "com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons"
}

Important, don't forget to change the customfield type according to your needs:

"adiobuttons" or "textarea" Consult the documentation.

0 votes
Henrique Degan
Contributor
April 27, 2022

image.png image.png

0 votes
Pramodh M
Community Champion
April 27, 2022
Henrique Degan
Contributor
April 27, 2022

Thanks a lot for the feedback.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team ’25 europe, early bird extension, conference discount, barcelona, hybrid event, AI teamwork, early bird pass, digital access, collaboration conference, atlassian events, register now, developer conference

1 week left to save on your Team '25 Europe pass

Still thinking about joining us for Team '25 Europe? Early bird has been extended for just one week! Now’s the time to lock in your lowest rate. Use code TEU25COMM-20 to save 20% at checkout. Hurry, this only lasts for 1 more week.

Learn more
AUG Leaders

Atlassian Community Events