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

I'm using RTC V5.0.2 and I want to add a field which has the number of days between the current date and the work item creation date

I'm using RTC V5.0.2 and I want to add a field which has the number of days between the current date and the work item creation date.

For example :
Creation Date : Nov 10, 2015
Current Datte: Nov 17, 2015
The new field to populate as 7 days 

0 votes



One answer

Permanent link
You will need to do some customization to achieve this. One way to do it is as follows.
1. Create a new attribute of the integer type.
2. Add a calculated value script to calculate the value when the work item is modified.
If this sounds alien to you. You should start with the below articles.
http://www.ibm.com/developerworks/rational/library/rational-team-concert-calculated-fields-work-item/
https://jazz.net/library/article/1003

Strictly speaking, such attribute will not contain the "true" value because to maintain a "true" value, your work items have to be changed constantly, or at least daily, which does not make sense at all.

If you want such field just for reporting purpose, you should explain how you would use it so that other options can be considered.

1 vote

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
× 6,126

Question asked: Nov 16 '15, 8:11 p.m.

Question was seen: 1,970 times

Last updated: Nov 17 '15, 1:19 a.m.

Confirmation Cancel Confirm