Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

limit results of project picker field

Andreas Lorz
Contributor
November 9, 2022

Hi together,

there is the project picker field (single project) field in Jira.

Is it possible to restrict the result of that field or is there any other solution to achive this?

For example, we have:

Project A with key: 'I01234', project category: 'project'
Project B with key: 'I02345', project category: 'project'
Project C with key: 'I03456', project category: 'project'
Project D with key: 'bla', project category: 'other'
Project E with key: 'bli', project category: 'other'

Only values that are relevant to me and which I want to have as possible values are I01234, I02345 and I03456.

Can I limit this with a regex on the project key or by filtering after a certain category, or...

Thanks for any answer that might help here.

1 answer

1 accepted

1 vote
Answer accepted
Sayed Bares _ServiceRocket_
Community Champion
November 9, 2022

Hi Andreas,

You will need a third party app to achieve this, an app which can interact with fields.

I know two apps which can do that PowerScripts and ScriptRunner.

For Power Scripts, you need to use a Live Field and specifically lfAllowSelectOptions.

As for Script Runner, you can achieve this by behaviours, you can reefer to https://community.atlassian.com/t5/Jira-Software-questions/How-to-restrict-a-project-picker-selection-list/qaq-p/799441 for an example

Andreas Lorz
Contributor
November 9, 2022

worked! Thanks a lot Sayed!

Suggest an answer

Log in or Sign up to answer