How to integrate custom UI in cutom field type configuration

Suneet Gupta February 3, 2014

I am developing a JIRA plugin for creating custom field type as per business requirement. I am facing challenges in displayiing UI components in custom field configuration screen.

After selecting the custom field type,while creating a custom field, custom field configuration screen is displayed which has name and description properties. I need to integrate some more UI components (eg. text boxes) in the same screen in a tabular way or in key value pair.

Please provide technical solution to achieve the above customization. Please also suggest if there is any way to integrate JQuery/JavaScript in this.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 3, 2014

That would be a bit of a pain. The configuration area you are looking at is generic and supports all the custom fields, covering all the configuration they have in common. If you wanted to take a swipe at that screen, you'd need to hack core code (not a plugin) and think about how you avoid showing your extra fields for the rest of the fields that wouldn't use them.

What you should do instead is write a screen and configuration class that would come up when you click "configure" on the custom field page. If you try this with existing custom fields, you'll see that the different types of field display totally different configuration screens. I'm not exactly sure how to do this, but you can avoid core-hacking if you take this approach.

TAGS
AUG Leaders

Atlassian Community Events