Versions Compared

Key

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

Contents

Table of Contents
excludeSee also

...

  1. Log into your Jira as Admin.
  2. Go to Administration > Issues > Custom Fields page.
  3. Click Add custom field and select SIL Script Field.

Image Modified

4. After you create the field, go to the corresponding Configure link. You will see the page like the following example:

Image Modified

5. Click on the Edit SIL Script link to see the SIL editor.

Image Modified

6. Click on the Save button and the script is associated to the current custom field.

Image Modified

7. The value returned by the script will be the value of the custom field.

Warning

The script is read-only. You must avoid changing any issue values in the script. In fact, you may change the issue variables BUT they will not be changed (issue will not be saved). However, routines may have side effects.

 Thread Local Caching

Note

If you are not fully aware of what this implies, it is recommended that you leave the option off.

...

  1. If you want a Sil Script Custom Field to be searchable you must select a Search Template for that custom field.

Image Modified

2. If the custom field already exists, in Administration->Custom fields, click Edit for the desired custom field, and choose the proper Search Template for your custom field according the value type returned by it.

...

4. After a searcher has been set for the Sil Script Custom Field, you can perform a search for all issues containing the desired value for that custom field.

Image Modified

5. For a detailed explanation on searching issues in Jira, you can check the Searching for Issues tutorial from the Jira documentation.