It's all about the answers!

Ask a question

comment's creator by OSLC v2


HIdenori Matsuoka (133) | asked Apr 13 '13, 7:09 a.m.
 I am using OSLC v2 for add comment with XML.
also included "dcterms:creator" tag in XML.
But created workitem's comment is not tag user.
Is this bug?

<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:oslc="http://open-services.net/ns/core#">
<rdf:Description rdf:about="https://xxxxxxxx/ccm/oslc/workitems/76/rtc_cm:comments/oslc:comment/0">
<rdf:type rdf:resource="http://open-services.net/ns/core#Comment" />
<oslc:discussion rdf:resource="https://xxxxxxxx/ccm/oslc/workitems/76/rtc_cm:comments" />
<dcterms:identifier>_D56ekJtiEeKDNq5kh3WS2Q</dcterms:identifier>
<dcterms:description rdf:parseType="Literal">note</dcterms:description>
<dcterms:creator rdf:resource="https://xxxxxxxx/jts/users/user@demo.co.jp" />
<dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2013-04-02T06:53:44.558Z</dcterms:created>
</rdf:Description>
</rdf:RDF>


Comments
Don Yang commented Apr 15 '13, 1:44 a.m.

when I commented in a workitem and check with the xml source, I won't see the tag of the user is dcterms:creator, instead, it is:

<rtc_cm:modifiedBy rdf:resource="https://xxx:xx/jts/users/user1"/>;
Maybe you want to try with rtc_cm:modifiedBy
and see if that works for you or not.

One answer



permanent link
Eric Jodet (6.3k5111120) | answered Apr 16 '13, 4:46 a.m.
JAZZ DEVELOPER
 Hello,
dcterms:creator is the creator of the work item
rtc_cm:modifiedBy: The user who last modified the work item
References: 


Hope it helps.
Eric

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.