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

Uplaoding an attachment for Work items

Using the RAST API.

I would like to know which URL i have to use to upload attachments which can be linked to work items.

For Test Executions in RQM i use
https://:/jazz/secure/service/com.ibm.rqm.planning.service.internal.rest.IAttachmentRestService

But those attachments are not in scope for the work items, so i cannot link them.

I already tried
https://:/jazz/secure/service/com.ibm.team.workitem.service.internal.rest.IAttachmentRestService

but i only received internal server errors (500) when trying this.

Anyone knows the correct link or has a good advice for me?


Thanks in advance,

Finaris

/edit: Another Hint, maybe the url is correct, but i saw that a NullPointer Exception occures when trying to uplaod an attachment:
http://250kb.de/u/100121/j/70pxX3uyeZYM.JPG

0 votes



3 answers

Permanent link
Hi !

Replace my project and category ids and try this url :

https://:/jazz/service/com.ibm.team.workitem.service.internal.rest.IAttachmentRestService/?projectId=_4LH98Ch5EeC4jci7lB4ZOA&category=_5Frhsih5EeCfvpbF1I0RqQ

0 votes


Permanent link
Hi !

Replace my project and category ids and try this url :

https://:/jazz/service/com.ibm.team.workitem.service.internal.rest.IAttachmentRestService/?projectId=_4LH98Ch5EeC4jci7lB4ZOA&category=_5Frhsih5EeCfvpbF1I0RqQ


Thanks, but where do I find the category UUID?

0 votes


Permanent link
You would use the integration service URL (https://jazz.net/wiki/bin/view/Main/RqmApi#resourceUrl_for_interaction_with). Note footnote 6 in https://jazz.net/wiki/bin/view/Main/RqmApi#Resources_and_their_Supported_Op.

0 votes

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

Question asked: Jan 21 '10, 8:08 a.m.

Question was seen: 6,385 times

Last updated: Jan 21 '10, 8:08 a.m.

Confirmation Cancel Confirm