Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Which classes do I use to assign a custom field to a issue type?

info_ January 28, 2018

I'm writing a plugin where I need custom fields and a custom issue type.

I see how I can create a new custom field using the CustomFieldManager, but I don't see in the docs or examples how I can assign that custom field to an issue type via the field configuration.  Any pointers into which classes could help? Thanks

Also, the next step would be the class needed to assign the custom field to a screen, any pointers there too would be much appreciated.

Thanks in advance!

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2018

Hi Neil,

I am afraid I do not have much experience creating plugins for Jira, but I think a similar question has been asked here before.   I would recommend checking out the threads on

https://community.atlassian.com/t5/Answers-Developer-Questions/Adding-Field-Screens-Programatically-in-a-plugin/qaq-p/535263

and possibily

https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-create-a-custom-field-context-programmatically/qaq-p/517361

Granted these are a few years old, however I believe that this has not changed that much within current versions of Jira and in turn should still be valid.

Suggest an answer

Log in or Sign up to answer