How do I programmatically get creation date of work item's as month and year?
Hi I'm new to the RTC environment and I'm in a need of geting the "month" and the "Year" of a specific item based on its created date. can you please help me with a method and/or a script to get this done. Thanks |
2 answers
A simple query will not work, as this sounds like a report. In this case, consider creating a BIRT report for this purpose.
https://www.ibm.com/developerworks/rational/library/10/creatingcustomreportswithbirtandrtc-part1/ https://www.ibm.com/developerworks/rational/library/10/creatingcustomreportswithbirtandrtc-part2/ http://www.ibm.com/developerworks/rational/library/10/creatingcustomreportswithbirtandrtc-part3/ http://www.ibm.com/developerworks/rational/library/create-custom-reports-birt-rtc/ |
Hi - was able to get the answer via enumes..
{
sharing s it might help anyone else who search for this kind of a solution. DK |
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.
Comments
Hi,
can you please specify what you are trying to achieve? Do you refer to "work items" when you say specific item? For those the displayed creation date shows month and year. So I assume you mean different items.
When you want to get month and year, do you want it displayed in a particular UI or do you want to run an external script which prints this info?
Please update the header of your request to become a question (e.g. "How do I programmatically get creation date of work items as month and year?") to increase chances for more people answering.
- Arne
Hi Aren
Thanks for your suggession, which I did change the heading.
As you understood, my requirement is to get the createtion month, creation Year of a work iteam (say incident) via the creation date of it.
My attempt is to, dispaly monthly/yearly figures on dashboard, based on that.
Thanks - Dulsanka