Table of Contents |
---|
Info | ||||
---|---|---|---|---|
| You will need the following JIRA plugin:
| |||
Power Scripts for JIRA (former JJUPIN) 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.
...
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 Power Scripts Scripts™ for JIRAJira's Live Fields feature.