OSLC - JAVA - RTC - SET and GET values for custom attributes for defect workitem
How to use JAVA code - Programatically to set & get values for below mentioned types of Custom attributes by using OSLC API for RTC defect work-item
1.Enumeration
2.Enumeration List
3.Timestamp
4.Contributor/Filed Against
5.Subscription
6.Category
7.Large String
8.Medium HTML
As of now,we are able to fill the default attribute like Summary,description in RTC defect form.Please guide us programatically to set & get the values for other custom attributes.
Accepted answer
Hi Ralph,
I'm able to set the custom attribute values for the RTC defect after going through the below form.
Thanks for your help!
Thanks,
Sujith babu
2 other answers
See:
https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/
https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/
There are other posts and API examples on that blog that you can easily find using the search field.
https://rsjazz.wordpress.com/2017/03/29/the-work-item-command-line-is-now-open-source/ has examples for pretty much anything you can do with the Work Item API.