It's all about the answers!

Ask a question

DOJO Script for updating the Current Month Enum attribute when State Transitioned.


RTC User Prime (215) | asked Apr 09 '22, 12:20 p.m.

This is in continuation with my previous question for the same clarification. This is when the Status is manually changed from B to C. the Quarter and Year and automatically getting updated by the existing plugin. Updating the plugin is having an issue, so looking for a DOJO Script for updating the Current Month Enum attribute when State Transitioned which can be used as part of the "Attribute Customization" 


Status  A  →  B
Month : Default value from Enum 
Actual Value :"Jan"

Status  B  →  C
Month Check for the "Current Month" and update the appropriate Enum value
Expected Value "Apr"

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Apr 09 '22, 12:54 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As far as my experience goes, the Java Script Dojo API available does not allow calculated value sets to reliably detect a state change. This is likely the reason why a follow up action was used. So I would suggest to get that working.

Your answer


Register or 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.