Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Confiforms: Apply filter to a user field

Is it possible to have a filter on a user field so that only certain users can be selected from the complete user data? If so, how? 

I have a form with a user field where I just want to have a few users to be selected from the complete pool (8,000 users). I can think of some work arounds like using a dropdown with these users and then setting the selected user in a separate user field, but maybe it is easier with using rules for field definitions and applying a filter on my user field, but I do not get this to work. 

Any hint appreciated :) Thanks  

1 answer

1 accepted

Hi

Sorry, you cannot apply the filter on the field that really has no registered options.

User fields are lookups to user directory and the field itself does not have any options/choices you can filter on

 

The easiest way would be to create a dropdown of users, where the ID of the dropdown choice is a user name. This way you really dont need to copy anything anywhere, as you can always transform a username to user object (via "asUser" virtual function) and access any user's object properties if and when necessary

Alex

Ok nice. But I am using the selected user as a recipient for an IFTTT send email. Can I also refer to a dropdown as stated above in the recipients field of that IFTTT send mail action? 

Sure, as long as it holds a valid username we can either lookup the user object or use "username" directly as a recipient address (ConfiForms can lookup user's email in case if a username was given as parameter for recipient field)

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
6.13.8
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

26 views 0 2
Read article

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