Forums

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

Restrict the Portfolio "Parent Link" options only to Open issues

Parag Thakkar June 19, 2018

We are using Portfolio plugin in the Jira Server instance. And now is the stage that we have many Portfolio Parents (above Epics) that are Done/Complete. And so we dont want these completed options to be displayed when we try to link an Epic to Parent issue.

Is there a way to restrict these Parent Link drop down options in Epic to display only the Open Parent Issues?

We also use Behaviors (ScriptRunner) if that can solve the purpose?

Appreciate your help!

Thanks a lot!!!

1 answer

1 accepted

1 vote
Answer accepted
Roland Holban (Adaptavist)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2018

In short, JIRA does not let you restrict the options of fields such as "Epic Link", "Issue Picker", "Project Picker", etc.

ScriptRunner has the FormField.setFieldOptions() method, but that only works for select lists, radio buttons, and checkboxes.

The only workaround I can think of is creating a multi-select select list, fetching all the Epics you want, then populating the options with those Epics. With that said, this is a fairly involved process in which I have no experience, so I cannot provide any help.

Parag Thakkar June 25, 2018

@Roland Holban (Adaptavist) Thank you so much Roland for your reply! I have already tried using setFieldOptions successfully on the other drop downs but unable to do on this one hence this question. 

Thanks again and cheers!

Parag

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events