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

Follow-Up Action Triggered by Attribute Change

 Hi,


One of my customer asked me to develop a follow-up action which will send an email when a specific attribute change. I have two question in that point;
1. How can I catch attribute change with or without state change?
2. How can I find old value of the attribute to put in email like "abc attribute <new value>, <old value>"

PS: I found some other question which mentions to find old value of an attribute but couldn't find any example.

Thank you and have a nice day.

0 votes


Accepted answer

Permanent link

 Kurtulus, 


this is pretty much explained in the Extensions Workshop (article 1000). 

In a follow up action you have access to the old state of the work item (values of the work item before the save) and to the new state of the work item (the future state after the save). You can get the attribute values for the old and the new state  and you can compare and work with them.

The status (attribute) is like any other attribute. In the extensions workshop the status attribute is used. in this example I use others. https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ 

We used to have an integration team that provided such additional features including maintenance. Not sure if they are still on offer. 

Kurtulus YILDIRIM selected this answer as the correct answer

0 votes

Comments

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: Oct 17 '19, 4:38 a.m.

Question was seen: 1,236 times

Last updated: Oct 17 '19, 9:12 a.m.

Confirmation Cancel Confirm