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

Autopopulate Summary with data from other fields in the same work item

I would like the Summary field of a specific work item type to auto-populate with OWNER_ID - EffectiveDate, where OWNER_ID is the login ID of the Owned By selection of the work item and EffectiveDate is a custom date field of the work item.

0 votes



One answer

Permanent link
Mike,

I think, you have these options you can try, starting with low and then increasing complexity.

  1. Use JavaScript and a calculated value provider. See https://jazz.net/wiki/bin/view/Main/AttributeCustomization and https://jazz.net/library/article/1093 Lab 5 for hints and examples. This would be the easiest option. I am not sure you can get the Onwer ID, I believe you can only get either the owner UUID [getName()] and the user name [getLabel()].
  2. Use a JavaBased calculated Value Provider. I provide example code here: https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/ 
  3. Work Item Save Participant, which would actually save a second time after setting the summary
I would go for 1 or 2.

Make the Summary field read only if you calculate from the input values.

0 votes

Your answer

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
× 10,938

Question asked: Nov 06 '13, 6:45 p.m.

Question was seen: 4,210 times

Last updated: Nov 07 '13, 2:51 a.m.

Confirmation Cancel Confirm