Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Setting creator upon work item creation per OSLC

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?

Best,
Arne

0 votes


Accepted answer

Permanent link

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

1 vote

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,957

Question asked: Nov 23 '11, 9:51 a.m.

Question was seen: 4,974 times

Last updated: Dec 20 '13, 12:05 p.m.

Confirmation Cancel Confirm