No such property: ATT_AFFECTED_ITEMS_OLD_LIFECYCLE_PHASE for class: Set Affected Item Revision
Hi Agile Community
I implemented a few more lines at a groovy called Set-Revision-on-Affected-Items or AddAISetRevPX.groovy.
It now should be able to set New Lifecycle Phase as Active if Old Lifecycle Phase is Null, or copy the value of Old Lifecycle Phase and paste on New Lifecycle Phase, as well.
I added the following statement:
if (ATT_AFFECTED_ITEMS_OLD_LIFECYCLE_PHASE=='')
{
row.setValue(ChangeConstants.ATT_AFFECTED_ITEMS_LIFECYCLE_PHASE,"Ativo");
row.setValue(ChangeConstants.ATT_AFFECTED_ITEMS_TEXT01," ");
}
else
{
row.setValue(ChangeConstants.ATT_AFFECTED_ITEMS_LIFECYCLE_PHASE,ChangeConstants.ATT_AFFECTED_ITEMS_OLD_LIFECYCLE_PHASE);
}
It works fine if only one item is added to ECO Affected Items tab, I'm facing issues with more than one item and the Event Subscriber Monitor shows an error like: