Scripted creation of custom fields / Migrate configuration between environments


I'm looking for an ideally automated process to create custom fields and assigning them to issue types for JIRA 6.1. As right now we can't easily upgrade to JIRA 7 (I believe newer REST API versions have methods for creating custom fields), any suggestions? Code/scripts would be fine, but would want to avoid writing a plugin.

We are also a cost effective way to migrate configuration between environments (UAT/production) and found Botron's Configuration Manager, but cost is relatively high. Are there any alternatives?


1 answer

This widget could not be displayed.

You can do the whole thing programatically, although the API changed between 6 and 7, so you need to bear that in mind.

Creating CFs is simple (com.atlassian.jira.bc.customfield.CustomFieldService#validateCreate), assigning them to projects/issue types is via com.atlassian.jira.issue.fields.config.manager.FieldConfigSchemeManager#updateFieldConfigScheme

(that's JIRA 7, 6 is similar)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

125 views 5 2
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you