It's all about the answers!

Ask a question

Which attribute would be Add so that it shows the mail id of the login user into work item?

Deepak Gidwani (262431) | asked Jan 09 '15, 5:23 a.m.

         I have to print the mail id into attribute of the work item, which shows the existing mail id of the logged user.
Which attribute I have to add or how to implement this in Change and configuration management.

One answer

permanent link
sam detweiler (12.5k6195201) | answered Jan 09 '15, 6:33 a.m.
you would have to use getAuthenticatedContributor(). getEmailAddress() in a server side participant.

I don't think you can get the current contributor object in a javascript calculated value script

Deepak Gidwani commented Jan 12 '15, 8:18 a.m.

 Hello Sam,

    Can you tell me the procedure for this. How I will do this?

sam detweiler commented Jan 12 '15, 8:32 a.m.

Deepak Gidwani commented Jan 13 '15, 5:43 a.m.

 Thanks Sam.

Ralph Schoon commented Jan 13 '15, 6:47 a.m.

You can only access the user ID and the Name in JavaScript as far as I can tell.

Your answer

Register or to post your answer.