Can i name a custom field?

Ed Sattar August 12, 2013

I have created many custom fields. I a now creating plugin for JIRA.

My problem is JIRA creating custom fields with auto generated Ids and names like customfield_10700.

Can i name my custom fields as well. For example name for text box like "txt_box" instead of customfield_10700.

1 answer

0 votes
Julian Riedinger _Decadis AG_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 12, 2013

you can set the displayName (fieldName) of a custom field but the cf-id is set by the environment

createCustomField(String fieldName, String description, CustomFieldType fieldType, CustomFieldSearcher customFieldSearcher, List contexts, List issueTypes)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events