Hi,
I develop an importer from another bug-tracking system. However, this other system has a lot of different custom fields and I want to let the users decide how to map their fields, to the existing JIRA fields, instead of writting a lot of special cases... How can I do that?
Thanks,
Petya
use the following api to get all the fields
fieldManager.getAllAvailableNavigableFields()
I've got all available fields by:
ComponentAccessor.getFieldManager().getAllAvailableNavigableFields()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to get a list of all custom fields defined in JIRA use CustomFieldManager.getCustomFieldObjects. Check also other methods there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That way I can get only the custom fields, right? I need all Issue fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you tried with my answer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, but I didn't succeed. I don't know where to call that function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am stuck at the same thing. Did you find the solution??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If your importer is an application outside of Jira, you can use Jira's REST API (http://docs.atlassian.com/jira/REST/5.0/#id199677) to get all the custom fields for an issue. Then once you have the mapping figured out, you can also use the REST api to create issues and set custom field values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My plugin is a part of your JIRA importer plugin and I need all of the standard fields as well as the custom ones. Some of the fields from Savannah could be mapped to standard JIRA fields. No need to create custom fields in that case, right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.