Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Unable to assign logged in User name on field

Hi All,

I have requirement to pre populate logged in Use name and email address into a form field. I tried assign default value as [entry._user.fullName] and [entry._user.email] but its not getting replaced with the actual user name or email value at the time of viewing the form. I am new to the confluence page design. Looking for your guidance to troubleshoot this issue.

<ac:parameter ac:name="fieldName">ReqName</ac:parameter>
<ac:parameter ac:name="fieldLabel">Requestor Name</ac:parameter>
<ac:parameter ac:name="type">read_only</ac:parameter>
<ac:parameter ac:name="required">true</ac:parameter>

 

Thanks

Abhik Banerjee

1 answer

1 accepted

HI

Default value as a parameter in Field Definition expects and supports static values only.

To set the value dynamically you can either use ConfiForms Field Definition Rules or use the following approach

http://recordit.co/CzdzfaN44X 

Please also note that there is really no need to track this information manually as each record in ConfiForms tracks created/createdBy metadata for you automatically (among some other fields https://wiki.vertuna.com/display/CONFIFORMS/Documentation )

Alex

Thanks a lot Alex. The approach defined on the http://recordit.co/CzdzfaN44X has worked for me.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

182 views 0 5
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