Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,888
Community Members
 
Community Events
165
Community Groups

Create Custom Fields in Bulk via CSV

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

3 answers

1 accepted

2 votes
Answer accepted

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
Pramodh M Community Leader Apr 27, 2022

Thanks a lot for the feedback.

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