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

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 

0 votes



2 answers

Permanent link

 Chandan,


Extensions support life-cycle events including 'ARTIFACT_SAVED'. 
You can see all the supported events in the link below.



0 votes

Comments

Thanks Luis. Could you please give me some hints/example on how to use this event trigger.

Also, ARTIFACT_SAVED Event will be called every time on the Requirement. But I need to capture only when the specific attribute is modified.


Permanent link

 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.


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
× 10,937

Question asked: May 04 '22, 2:02 p.m.

Question was seen: 1,114 times

Last updated: May 06 '22, 3:18 p.m.

Confirmation Cancel Confirm