1

Jazz サーバーへの投稿を介して、RTC で Build Ticket を生成しようとしています。私がそうすると、「所有者」属性を設定する必要があるというエラーが常に発生します。ドキュメントからわかる限り、dcterms:contributor が所有者です。「dcterms:ownedBy」、「dcterms:OwnedBy」、「dc:OwnedBy」などを作成しようとしましたが、何も機能しません。なぜそれが好きではないのですか??

私が送っているもの:

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
         xmlns:dcterms="http://purl.org/dc/terms/" 
         xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/" 
         xmlns:rtc_ext="http://jazz.net/xmlns/prod/jazz/rtc/ext/1.0/">
   <rdf:Description rdf:nodeID="A0">
      <dcterms:contributor rdf:resource="https://[host]/jts/users/[user_id]" />
      <rtc_cm:due rdf:dataType="http://www.w3.org/2001/XMLSchema#dateTime">2020-06-24T16:00:00.000Z</rtc_cm:due>
...

応答:

<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:oslc="http://open-services.net/ns/core#">
    <oslc:Error rdf:about="#n0">
        <oslc:message>'Save Work Item' failed. Preconditions have not been met: The 'Owned By' attribute needs to be set (work item &lt;08:54:54&gt;).</oslc:message>
        <oslc:statusCode>403</oslc:statusCode>
    </oslc:Error>
    <rdf:Description rdf:about="https://[host]/ccm/oslc/contexts/[project-key]/workitems/[build.item]">
  </rdf:Description>
</rdf:RDF>
4

1 に答える 1