I have setup a project automation rule with the following:
1. When: Issue created
2. Edit Issue Field: Due date = {{issue.[<customField>]}}
[EDIT] To clarify the exact "edit". I want to perform a date operation using two custom fields. customField1.minusDays(customField2). The issue is that both of the field values are always empty, since I cannot use the smart variable for issue. or createdIssue.
When the rule runs, the audit logs says it is successful. However, the date is never set. I have tried a large variation of setting issue fields (not just date) and I cannot get it to work.
I have reverted to just adding an audit log when issue is created and logging the values. The logged values are always empty.
Different variations such as:
{{issue.fields}} OR {{issue.fields.asJsonString}} OR {{fields.asJsonString}} OR {{createdIssue.fields.asJsonString}} OR {{triggerIssue.fields.asJsonString}} OR {{issue.key}
I am unsure where to go from here.
Are you trying to populate the Due Date field with the same date in another date field? If so, you can use the Copy From function (the 3 dots next to the field in the edit field action), so in this case, you wouldn't need to use the smart values
Hi Callum,
I want to set the due date using date operations on two custom fields.
customField1.minusDays(customField2).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.