It's all about the answers!

Ask a question

Setting creator upon work item creation per OSLC

Arne Bister (2.6k12832) | asked Nov 23 '11, 9:51 a.m.
Hi Team,

using a script to programmatically create work items we would like to set the creator to a certain user instead of the logged in user under which the script is running.
How is this possible when creating work items with OSCL? What is the correct syntax?


Accepted answer

permanent link
Nate Decker (37814561) | answered Dec 20 '13, 12:05 p.m.

If I were to guess, I would say you need to use:

<dcterms:creator rdf:resource="https://localhost:9443/jazz/oslc/users/_yo_KdpHJEeCxkrdeiPeBbw"/>

This seems to open another can of worms though because I'm not sure how you find out the unique identifier associated with a particular user. You must be able to query a user and request their URL identifier as a display parameter, but I'm not sure what the syntax would be for that. I'm researching the topic right now.

Arne Bister selected this answer as the correct answer

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.