It's all about the answers!

Ask a question

Get details of user e.g. email id, user name using calculated value java script


0
1
vikrant kamble (1322996) | asked Jul 13 '18, 4:37 a.m.

 Hello,


In a work item we need to set calculated value for custom string attribute. Value for this attribute would be email id of the user who is owner of work item. Our approach is to get email address of user who is owner of work item using java script and use calculated value script to set this value to custom string attribute. 

Is it possible to get email address of user (Owned By attribute in work item) using java script?

One answer



permanent link
Ralph Schoon (63.1k33645) | answered Jul 13 '18, 5:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jul 13 '18, 5:11 a.m.

This is not available in the RTC Attribute customization API. You can only get the label (Name) and the ID (UUID).

See https://rsjazz.wordpress.com/2016/07/15/rtc-process-customization-what-you-can-and-cannot-do/

The Java API allows to get that information in attribute customization.


Comments
vikrant kamble commented Jul 13 '18, 5:22 a.m.

So if I want to do something like this preferably do I have to go with custom follow up action (plugin development)?


Ralph Schoon commented Jul 13 '18, 6:32 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.