Dear forum users,
i need your help with an automation problem: We are using Automation for Jira Server 7.2.3
For recalculation of a derivative due date when another number field is changed we created a Field Value Change Rule with the following edit action:
Field Due date is set to {{issue.customfield_10705.minusWeeks(fieldChange.to)}}
where
and fieldChange is expected to contain a number, but it seems it doesn't, because everything i tried led to the deletion of the due date. I failed already with:
Could you please give me a hint how to convert the data in the fieldChange into a number that can be used for calculations ?
Thank you very much for your help in anticipation,
Sebastian
For something like this, please post an image of your rule to provide some context; that will help the community suggest ideas to you.
Have you tried logging the values to the audit log to see what they contain within the rule?
If your fieldChange field is already a number, you should not need to convert it. Or, by fieldChange do you actually mean the field which changed to trigger the rule? If so, please consider directly referencing that field's name (smart value) with no suffix, such as ".to" or ".toString".
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.