On-save Update value of an attribute in DNG using Extensions
Hello All,
I am aware of some of the event based update of DNG attribute values using DNG extensions.
Now my use case is to update the value of DNG attribute just like "on-save" immediately update the value of other attribute. Do we have such kind of events to update DNG attributes using extensions
Kind Regards,
Chandan
|
2 answers
Chandan,
Extensions support life-cycle events including 'ARTIFACT_SAVED'.
You can see all the supported events in the link below.
Comments
Chandan M B
commented May 06 '22, 5:12 a.m.
Thanks Luis. Could you please give me some hints/example on how to use this event trigger.
Chandan M B
commented May 06 '22, 9:06 a.m.
Also, ARTIFACT_SAVED Event will be called every time on the Requirement. But I need to capture only when the specific attribute is modified. |
Chandan,
You can find extension examples in the link below.
For your case you may need to keep track of the existing attribute value when the artifact is selected, then checking the value on save to see if it has changed and executing your custom code to update another attribute.
|
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.