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

How to get the details about attribute value sand time stamp information using OSLC queries when associate made changes to attribute values through 'Manage project properties' ?

Associates will modify attribute valid values in two ways:

Option1. Directly open the artifact and edit the attribute value and save it.

Option2. Manage project properties -> Attribute Data Types -> Select attribute data type -> Edit the label/value.

My question is if associate make the changes to artifact's attribute value using above mentioned option1 then only artifact's  modified date is updating with current date and time. But if we make changes to any attribute value through option 2, I am expecting to see all artifacts which contains the modified attribute value should also get updated with latest modified date but that's not happening in option 2 scenario.

So is there any OSLC query available to get the details about updated attribute values and it's time stamp information for option2.

Thanks for your help!!

0 votes



One answer

Permanent link

Editing (1) an attribute value for an artifact, and (2) changing the type of an attribute are two totally different things.

If you are changing an attribute type, you are not touching at all the actual attribute value of artifacts which use this attribute type, hence no update of the last modified timestamp, so your expectation is not valid.

And not sure what you are looking for with the OSLC query. Do you want to query for changed attribute types?

0 votes

Comments

Thanks for your reply.

Yes, I am looking for the query to get most recent changed attribute types (i.e. what are all updated attribute types and it's values along with time stamp information)

AFAIK history of artifact attribute types (or shapes in OSLC terminology) is not query-able.

One option I see if periodically & programmatically going through all shapes of a project area or component, scan and store the definition + timestamp for that run, and compare against the previous run, checking for changes.

Another option would be reading the TRS feed, which I think also provides type changes, but that also means writing your own logic, and needs a special license.

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,954

Question asked: Jan 16 '18, 11:31 a.m.

Question was seen: 1,462 times

Last updated: Jan 16 '18, 4:28 p.m.

Confirmation Cancel Confirm