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

User Picker Custom Field : default value as currentUser ?

Hi,

Is it possible to set the default value of a user picker custom field to the current logged in user ? It seems I can only select a set user.

The use-case I have is a field in the JSM customer portal where I need to auto-fill a user-picker custom field with the logged-in user.

Thanks in advance,

Regards,

Dylan

2 answers

0 votes
Guilhem Dupuy Community Leader Nov 26, 2020

Hello Dylan,

I never tried this, but you can try using the following smart value : {{initiator}}

However, this might not work for a JSM project as a client accessing the customer portal may not have a Jira account ..

 

Let me know if it helped,

Guilhem

Hi Guilhem, thanks for your answer :).

I can't seem to input a smart value as a default value in the "EditCustomFieldDefaults" screen, it's not saving the value.

I need to browse through the users if the default user (the initiator) needs to be changed so the user-picker field type is what I need. Maybe it doesn't accept smart values? 

Regards,

Dylan

Guilhem Dupuy Community Leader Feb 19, 2021

Hi @Dylan Pokun ,

Yes indeed it doesn't seem to work, another way to do this would be to create an Automation rule that would copy the value of the "Reporter" field which is automatically gonna be set to the logged in user during the creation from the portal (if you didn't set it otherwise). You will then be able to copy this value into the desired field during the creation of the issue for instance.

0 votes

Were you able to set the default value as the logged in user?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

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