It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Limit projects in dropdown menu on create screen (Scriptrunner?)

We have a use case that I need some help with.

With 'Create Constrained Issue' (today we use this with Exocet) we push a button in a Jira issue to get a new create screen. There we can create a issue in a different project.

In that create issue screen we want to be able to filter out which projects that are chooseable from the dropdown menu so we don't get all projects the user have access to. E.g. if we push "Send to vendor" button, we want to be able to filter so only vendor-projects are show in the projects dropdown menu.

I know we can limit access to the projects them selves, but we want the users to have access to the projects for different reasons.

 

Is it any way to use Scriptrunner's Behaviour for example for this? Groovy code to limit the projects shown in the "Project" dropdown menu on the create screen? Same with issue-type..

2 answers

1 accepted

At the current moment, there is not a way to restrict what options show up in fields such as Project Picker, User Picker, etc. This is because those fields are populated using a REST call and we would have to intercept that response and manipulate it.

With that said, our development team is working on it. I do not have any time estimates but stay tuned :)

Hi Roland, and thank you for your reply.

Looking forward for the new feature to be released some time in the future.

Hi Roland,

have you any update on functionality for restricting options in Project Picker, we want customize it and are trialing script runner for POC.

If you have pointers we can do in jquery or something would be very helpful.

 

cheers

Ajay

Hi Knut,

depending on how you use Project Categories in Jira you could also limit the number of project by category. Of course this would mean, that in the sample above all vendor projects are in the same category. This is a native feature of Exocet.

See Exocet Documentation

Hi Reto,

Thank you for pointing this out. In our situation it will help in some usecases, but sadly not all. But it is a helpful feature.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

261 views 1 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you