Versions Compared

Key

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

Table of Contents

 


You will need the following JIRA plugin:

JJUPIN
Info
titleRequired plugins
apps

Power Scripts™ for Jira 2.5.2+ (server)

Level: BASIC

Problem

We want to forbid some issue priorities for certain projects during the issues creation, edit or project workflows transitions screens.

For example, we want to remove issue priorities `Blocker` and `Trivial` from the list of the available  options in the currently configured project.

...

By using lfRestrictSelectOptions SIL SIL™ routine we'll easily manage to hide some issue priorities for certain projects. All you have to do is to create the following script and associate it with the main Live Fields configuration on your project, as described here. This way, the issue priorities will be hidden in create/edit/workflow transitions screens.

...

Note

Pay attention to the parameters passed in lfRestrictSelectOptions routine. You have to use quotes ("priority"), in order to pass in the actual field label name for the current screen.

Otherwise, SIL SIL™ Interpreter will actually get the priority from the current issue.

...


See also

...

...


The above SIL SIL™ script makes use of the lfRestrictSelectOptions routine offered by JJupinPower Scripts™ for Jira's Live Fields feature.