How can I save my data in the RTC server with my follow-up action?
I want to save any data in the RTC server with my follow-up action.
For example, using database or file , and so on. RTC has any function to fit my requirement? |
Accepted answer
unless you have your own counter, there is no mechanism to insure sequential numbering. there are times when a sequence number is incremented but a workitem is not created.
A-1, A-2.. far as I know, the database access layer is not exposed for use for extension. I have wanted to add objects to the database as well. so, as Ralph suggested, you would have to use your own JDBC connection (& configuration) to a different table (maybe in the same database) also, I am not sure how you replace the Jazz created ID with your own, and still have hte rest of the system work. reports, queries, ... all use the ID field in lots of indirect ways. Yasuyuki Kubota selected this answer as the correct answer
Comments
Yasuyuki Kubota
commented Jun 23 '14, 4:13 a.m.
Hi, sam.
also, I am not sure how you replace the Jazz created ID with your own, and still have hte rest of the system work. reports, queries, ... all use the ID field in lots of indirect ways.I don't mean to replace the Jazz created ID, and I want to use my own sequential number as one of custom workitem attributes. unless you have your own counter, there is no mechanism to insure sequential numbering. there are times when a sequence number is incremented but a workitem is not created.I'm going to implement a new follow-up action with "save workitem" operation. It increment a workitem number and set it into a workitem as a custom attribute.
sam detweiler
commented Jun 23 '14, 7:47 a.m.
ok, I understand now.
|
2 other answers
Hello,
can you be more specific and provide a real example of what you would like to do?
Thanks,
Eric
|
Ralph Schoon (63.5k●3●36●46)
| answered Jun 13 '14, 2:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
http://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ shows how you would do that with work items. You can use the JavaAPI to create and save other RTC objects. You can use Java and REST/OSLC API's to contact other Jazz/OSLC applications and create and store data.
For other kinds of data sources you have to use Java API's to do this. Comments
Yasuyuki Kubota
commented Jun 17 '14, 10:54 p.m.
Hi, Ralph
Ralph Schoon
commented Jun 18 '14, 3:25 a.m.
| edited Jun 18 '14, 3:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please be more specific in your questions in the future.
Yasuyuki Kubota
commented Jun 19 '14, 2:04 a.m.
To be honest, I want to generate sequential workitem IDs for specific type items as mentioned at the following 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.