It's all about the answers!

Ask a question

workitem attribute customization: get userid from owner or creator


Milan Krivic (98010172140) | asked Oct 18 '17, 9:55 a.m.

 Hi,


is there possible to retrieve userId from owner or creator with javascript?
I can retrieve userItemId with getValue and First/LastName with getLabel.

What about userId?

Regards,
milan

One answer



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

No. Not in the attribute customization JavaScript API in general. I must have answered this and related questions at least 50 times now.

Note that https://jazz.net/wiki/bin/view/Main/AttributeCustomization only really supports string types and enumerations.

Also see https://rsjazz.wordpress.com/2016/07/15/rtc-process-customization-what-you-can-and-cannot-do/ for a better idea what you can do.

In the Web UI if you know what you are doing and reverse engineer the UI you might be able to do more e.g. communicate back to the Server to get that information, but you shouldn't do that.

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.