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

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

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"

0 votes



One answer

Permanent link
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.

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
× 6,141

Question asked: Apr 09 '22, 12:20 p.m.

Question was seen: 1,183 times

Last updated: Apr 09 '22, 12:54 p.m.

Confirmation Cancel Confirm