Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Power Custom Fields PRO 

This add-on came out as a necessity in a real large project. The idea of the add-on has been in the back of our minds since we first started to customize JIRA for our clients, however we didn't have the time to implement it, until now.

...

so no wonder a plugin has been a success after it got implemented.

Problem definition

Let's talk about select lists, for instance. When dealing with select lists in JIRA, you have the possibility to create static select lists via the usual custom fields. This As amazing as it is awesome, but it is not enough though. Select lists may can be dynamic in nature, in which case the usual custom fields are really not helpful.

Imagine that your field is actually a select from the database. Or a list of components that should be determined at runtime based on user roles in the project.

We tried to solve such several problems in Power Scripts for JIRA (formerly known as JJUPIN) Live Fields by hiding select lists options elements. However, this is usable only for select lists which are known (static), because we could not determine easily at runtime what values have been shown in the UI.

 

...

Entering the stage: Power Custom Fields PRO

 

Power Custom Fields PRO resolves all the above problems of the dynamic select lists, in our own way: data for the CF is obtained through Simple Issue Language or SIL (although and we plan to add more options on it); . And at save time , we allow one more optional interaction with the CF through SIL, enabling you to update dependent fields or issues (or maybe just log it).

 

The data is obtained through a SIL script, allowing enabling you to intervene in the process of data build-up even in the stages of the autocomplete. This is a huge advantage for JIRA-addicts (like we are) because it allows you to filter more efficiently based on what user types are in the field (car parts, computer parts, airplane parts, ...)and so on).

Selection of the data is scripted, tooscripted too. This means that using SIL you can intercept in SIL the selection that the user has made and act on it.

 

Data may be You can have data presented to the user asin the following ways:

  • Select lists (simple – simple or with auto-complete, single or multiple)
  • Radio buttons (if – if you have only a handful of choices)
  • Checkboxes (for – for multiple, but few, choices)

To please the eye of the user and to make the lists look like the JIRA standard lists, we added special renderers for the following elements:

  • Issue
  • Component
  • Project Version
  • Project
  • Group
  • User

The default renderer is used just to show general data.

...

Use cases for Power Custom Fields PRO

We see two immediate usage of Power Custom Fields PROuse cases for the plugin:

  • Dynamic choices
  • Huge Datasets , when the user must has to filter via autocomplete.

See also

The plugin functionality overlaps with UGP-Pro User Group Picker PRO and partially with DBCF.