based on Reporter, want to pre-populate options in custom field multi-select

 

We want to build an issue type that allows a sub-set of our JIRA users to request additional permissions for all the other users in our system.

More specifically ...  If the reporterA is a member of AA-Approvers, we want them to be able to request that any other user be added to AA-Admin, AA-ReadWrite or AA-Read.  If a reporterAB is a member of AA-Approvers and BB-Approvers, there would be 6 groups they could add users to.   Let's say we have a custom multi-select field called "Add to these Groups".  In that mutli-select field are all of our groups.  But when the ReporterA creates the ticket, in the create screen, we only want groups AA-Admin, AA-ReadWrite and AA-Read to be available for selection.

Does this make sense? 

We know how to find which *-Approvers groups the reporter is a member of.  What we're asking here is: how do we restrict the options in the "Add to these Groups" field?

All suggestions welcome.

 

 

 

 

1 answer

We are still looking to solve this. We have a perl script that given a username will return all the groups that they have approver privileges for. We want all of those groups to be presented to the user in a JIRA ticket and let them choose one or more of them. So we call the script with user "kate" and it returns groups "AA-1" and "AA-2". Those are the only two groups that she can choose from when creating a ticket. Despite the fact that we may have hundreds of groups. Any ideas?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

895 views 3 12
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you