Update parent work item depending on the values recieved from child work item and vice versa
![]() Please look into below scenario
|
Accepted answer
![]() You need to develop an extension.
vikrant kamble selected this answer as the correct answer
Comments Hi Donald
For second scenario i.e. I have to get values from child work item and update it to parent work item I believe I will have to develop extension.
But for first scenario is it not possible using customization capabilities of tool?
When you said "customization", I take that you meant "attribute customization", which is JavaScript based? If so, no, I don't think it provides capabilities of reading linked work items.
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
None of the use cases can be done with Attribute customization because the fundamental reason is that the JavaScript Attribute customization API which is published here https://jazz.net/wiki/bin/view/Main/AttributeCustomization has nothing available to find a linked work item (regardless of the link type) or to even access an attribute, or state, or anything, of another work item. It might be possible to find undocumented ways in the Web UI, but I would not suggest trying.
I think all the related links Don provided actually convey this as well.
Related posts (that have all been referenced in the links don provides
See the linked questions for more details.
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In addition I would like to mention that there are currently 3 types of approvals. Approval, Review, Verification. There is no way that I would be aware of to store such information like first approval, second approval etc. in the work item other than using the approval subject, a special work item attribute, or (maybe) the order of the approval creation time.
There is no way, I am aware of, to use this information in work item queries to report consistently to this information.
Any automation you would base on this would have to be carefully constructed e.g. preventing unwanted approval state changes in old entries or automatically setting work item attributes (approval round) or whatever solution you come up with. To create consistent working customization like this can become very complex.
Hi Ralph,
I have not tried to get a linked work item in a Java based attribute customization which you create in https://rsjazz.wordpress.com/2015/06/19/a-custom-condition-to-make-attributes-required-or-read-only-by-role/ . If you manage to do it, would be nice if you share the code piece.
showing 5 of 6
show 1 more comments
|