CustomField customFieldSync = customFieldManager.createCustomField( "Id", "Description", customFieldManager .getCustomFieldType("com.atlassian.jira.plugin.system.customfieldtypes:textfield"), null, contexts, issueTypes);
I don't know how to set screen and set value "Read only" programmatically
Community moderators have prevented the ability to post new answers.
You will find sample code of adding to screen in this post. Setting value examples are all over in Answers ;)
If you want to make a custom field read only, don't have an edit template. Or remove it from "Edit" screens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer. I added screen, but how to set "Read only" for custom field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do it so
customFieldManager.getCustomFieldType("com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You will find sample code of adding to screen in this post. Setting value examples are all over in Answers ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.