Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC: How to add calculated values to custom attributes

 I have two custom attributes associated with a custom Work Item Type.  These attributes are:


1) Submitter
2) Submitted Date

and I would like to make them a default calculated value and then be read-only (i.e. don't allow the user to set them).

I would like the value of Submitter to default to the logged in user and the value of Submitted Date to default to the date/time of when the work item is saved.

These attributes are different from  Created By and Created Date because they correspond to a particular state transition.  I know there is a Javascript API but I have not found a good example for how to set a field to the current logged in user.

Can someone point me to a good example for how to achieve what I am trying to do?

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020

Question asked: Sep 26 '18, 4:04 p.m.

Question was seen: 1,513 times

Last updated: Sep 26 '18, 4:04 p.m.

Confirmation Cancel Confirm