If Timespent attribute in not null then status/state should change automatically to inprogress? is it possbile by script or any other way?
i have a attribute in task wi that is Timespent . if timespent is not null means if it contains any values, status should change inprogress automatically . is it possible ?
One answer
It seems you attempt to use attribute customization scripts. These can only be used for calculating attribute values or validation attributes. Work item state is not simply an attribute value you could modiy like this.
See also: https://jazz.net/library/article/1003
The best way to accomplish this is a server side operation advisor script.
This would have to be written in Java, deployed to the server and would trigger on work item save, changing state if time spent <> null.
You can either attempt to write this yourself (cp. https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/) or (shameless self-advertisement) turn to e.g. Method Park for the RTC-Integration plugin that would easily allow scripting this.
If this is helpful please mark the answer as accepted.
- Arne