Dears,
I am new in Script Runner. I'm need script for automation Due date based on priority or custom field text.
I need:
When i Create Issue:
if Priority = P1 then Due Date = Now + 1d
if Priority = P2 then Due Date = Now + 3d
if Priority = P3 then Due Date = Now + 5d
if Priority = P4 then Due Date = Now + 10d
Due date field should be locked.
Could you please describe detailed working with Script Post - Function.
Thanks