Versions Compared

Key

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

After the steps from the Configuration page are complete, configure the Data Table Custom Field following the steps below:

  • Access the 'DataTable Custom Field' configuration page from Administration->'Add-ons' menu, 'DataTable Custom Field' sub-menu:

Image Removed

  • The first parameter to configure is the Thread Local Caching:

...

After you complete the steps from the Configuring Power Database Fields PRO™ page, configure the data table custom field following the steps below. You do that on the following pages:

Database General Configuration

  1. Log into your Jira as Admin.
  2. Go to Administration > Add-ons > DataTable Custom Field configuration page.
  3. Configure the parameters on this page.
    1. Thread Local Caching
      If you are not fully aware of what this implies,

...

    1. we recommend that you leave the option

...

    1. as "false".
      Because multiple calls to get the value of a SIL Script Custom Field for a certain issue are inevitable, we implemented an option to generate the value only once per HTTP request. This

...

    1. improves performance, but might have

...

    1. certain side effects.

...

    1. For example, if the value is

...

    1. generated before

...

    1.  certain other values that it depends on are modified, the

...

    1. result might

...

    1.  not reflect latest updates.

...

    1. Custom Field
      Here you select the necessary custom field of

...

    1. the Data Table Information type, see example below.

...

Image Removed

  • Choose from the available options for 'Data Source' like in the image below:

Image Removed

  • If Data Source is Database, another 2 parameters are available to be configured: - JNDI name and SQL Query.(Please see the Configuration page for details.)
  • If Data Source is set to SIL, SIL Script is the editor where you should type a script like in the image below:  

Image Removed

...


    1. Image Added

Datatable Custom Field configuration page

After you complete steps on the general configuration page, perform the Datatable configuration.

Image Added

  1. Data Source – select data source, SIL™ or database.
    1. If you selected "Database" for the Data Source field, additional parameters become available to be configured, for more details see Configuration page.
      • JNDI name
      • SQL Query
    2. If you selected "SIL" for the Data Source field, type a script  in the SIL Script editor.
      Before saving the script,

...

    1. make sure the syntax is correct. You do that using the

...

    1. Check

...

    1. button.

...

    1. You can also check

...

    1. the log files if needed.

      Info
      For more examples of SIL scripts,

...

    1. see the Power Scripts

...

    1. for Jira documentation.


      Image Added

...


  1. Click Save.

See also

Data Source Configuration

What's next

After you configure the data tables, see User Guide for details on how to use database custom fields.