It's all about the answers!

Ask a question

OSLC - JAVA - RTC - SET and GET values for custom attributes for defect workitem


Sujith Babu Bandla (265) | asked Aug 31 '17, 5:10 a.m.

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


permanent link
Sujith Babu Bandla (265) | answered Sep 01 '17, 9:16 a.m.

 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

Ralph Schoon selected this answer as the correct answer

2 other answers



permanent link
Shriram Punde (111) | answered Dec 04 '21, 7:40 a.m.
Hi Sujith ,

Can you please provide sample code if possible . I am facing issues with updating custom attributes in artifact by usnig OSLC+JAVA. also is there any way to add custom attributes while addition of artifact ?

It will be really helpful if you provide us sample.

Thanks in advance.

permanent link
Ralph Schoon (63.1k33646) | answered Aug 31 '17, 5:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Comments
Sujith Babu Bandla commented Aug 31 '17, 7:07 a.m.

 Hi Ralph,


Thanks for your Answer!

I'm looking for OSLC REST API - JAVA Code to create a RTC defect with custom attribute.
Kindly help me on that.

Thanks,
Sujith Babu


Ralph Schoon commented Aug 31 '17, 7:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Sorry, missed the OSLC. OSLC is not my turf, sorry.

Try: https://www.google.com/search?q=OSLC+site:jazz.net


Sujith Babu Bandla commented Sep 01 '17, 9:16 a.m. | edited unknown
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

Your answer


Register or 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.