Cascading field - Using a user picker field as the dependent field

Hi, this is my problem.

I want to be able to select one user of a set of users dependent of the value of other field, I mean:

First Field. Values:

A

B

C

For the value A I want to be able to select one of the users UA1, UA2, UA3

For the value B I want to be able to select one of the users UB1, UB2

And so on.

I am thinking to use a cascading field, but I need the dependent field be a user picker field type. Is there any way to achive this?

Thanks in advance

1 answer

0 vote

You'll need to write code for this. A cascading select really is a select, it's hard coded.

You could also try javascript hackery to connect two fields - take a select list, and then dynamically change the contents of a separate user-picker.

I avoid javascript like the plague, as it feels like a bodge and is a nightmare to get right and maintain in the long run, so I've no advice on that (other than "avoid it"). But there are loads of postings about various "dependent fields" here on answers that may get you started.

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
Posted 8 hours ago in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

40 views 1 2
Join discussion

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