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

RTC Attribute Customization : Script based Condition not mandating the Date (Time Stamp) attribute

Hi All,

I need to have a script based condition where the dependent Time Stamp attribute (Outage Start Date) should become mandate when theĀ  other Enumeration attribute (System Outage) is "Full Outage".
I am able to get the asterisk mark for the Outage Start Date, when I select the 'System Outage' as 'Full Outage',
But when I save the work item, I am not getting any error messages saying "Attribute "Outage Start Date" not set".

Why conditions are not working for Time stamp, I can able to save even 'Outage Start Date' is 'None'?

I have configured this script with the pre-condition 'Required Attribute for Condition' and Dependencies for the attributes also.

Request you to assist on this.

Regards,
Prabhu

0 votes

Comments

Have you tried to debug your code on the server side? That's where you can prevent the work item from being saved.

Hi Donald,

Thanks for you quick reply.

I have added this Pre-Condition for Save Work Item (Server) only.

Thanks,

Prabhu.

You still need to debug, and at least make sure the script does get executed - depending on your role assignments and configuration, it may not get executed at all.


Be the first one to answer this question!

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,117

Question asked: Sep 15 '17, 1:16 a.m.

Question was seen: 1,117 times

Last updated: Sep 17 '17, 9:11 p.m.

Confirmation Cancel Confirm