Both Calculated and Manual Value
Hi,
We developed a simple code to calculate due date according to severity and priority. It works fine and sets due date with calculated date info but sometimes due date is needed to set manually. Is there a way to use both calculated value and manually set value?
Thank you.
|
Accepted answer
Hello,
I assume that your issue is that manually entered due dates are overridden by calculated value after saving the work item, right?
If this is the case, a possible un-tested workaround could be to:
- make the due date read-only and use the calculated value
- a new boolean "Override" attribute - default is false (not selected)
- add presentation for this presentation
- modify your script so that value is calculated only if Override is false
Eric
Kurtulus YILDIRIM selected this answer as the correct answer
Comments
Kurtulus YILDIRIM
commented Aug 21 '14, 5:12 a.m.
Thank you Eric,
|
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.
Comments
Can you use the calculated value as the default value and allow the attribute to be modified?
I tried it but it didn't work.