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

Not able to find values of attributes of work items in curl command

 Hi Team,

I am using Postman tool as Rest API client to create Work Items externally. I am able to create al work item types successfully using the same, but when I want to change the values of the attributes at that time I am not able to find the same for changing. Only summary attributes is there for change
How can I change other attributes please guide.

I have curl command which is copied as a bash. I have filled all the attribute but able to find only summary attribute. How can I change other values.{where to find other attributes values}

0 votes

Comments

Your question is like: I'm trying to change some data (but won't tell you what), using some curl command (but won't tell you the command) to make some change (but won't say what data is being sent), and it doesn't work (but won't tell you how it failed, or what error responses I received).

Seriously, if you want people to help you, tell them EXACTLY what REST operations you are performing, the headers, the body of any PUT/POST request, what response you got (headers and body). Details! Details! Details!

1 vote


Accepted answer

Permanent link

There is no information at all in this mail, which could be used to help answering this. You could do better.


So here what I think based on the information given. You should follow the links we have provided you already in other questions, especially about OSLC and read the information. OSLC is the protocol and a REST API and it is explained in the standards documents: https://www.oasis-open.org/standards/ also see https://open-services.net/ for a simplified explanation.

The creation factory document explains which attributes are supported, and links to the available values.
The work item you get contains links to the values for all the attributes, matching the information in the creation factory.
Especially, you will only be able to see values for primitive types (String, integer, number, data) directly in the work item, when using the OSLC API. All other attribute types are complex items where you only see the link to the value. This is how OSLC works. So for all complex attributes, you have to follow the links in the work item body to get the values. Also see the section in the Landing page below.

There are other APIs such as the reportable REST API that provide data in a different way. Keep in mind that the reportable REST API is read only.

You can find a link to that API in here: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding

 

KT PD selected this answer as the correct answer

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: Jul 26 '21, 8:06 a.m.

Question was seen: 461 times

Last updated: Jul 26 '21, 12:50 p.m.

Confirmation Cancel Confirm