Hey all,
I've been trying to create a rule that does the following:
whenever the field of a task is changed, then update a specific field in a specific set of subtasks.
Here's what I created:
I also tried: {{issue.Install_Date.minusBusinessDays(2)}} but it isn't working
The rule works, and it runs, but it doesn't update the field in the subtask. I tried replacing the due date smart value for a specific date by clicking on 'pick a date' and it works, so I assume the problem is with the smart value I wrote.
For context, due date is on the subtask and install date is on the task (parent) aka 'order'
Any help is appreciated, thanks in advance!!
Hi @Martina
There are a few things to check / adjust in your rule:
What is the field type for "Install_Date"? Is it a date picker field, or something else?
Have you confirmed that is the correct smart value for the field, Install_Date?
Smart values are name, spacing, and case-sensitive. And often the smart value does not match the displayed field name on the issue views. The steps below help to identify the correct smart value (and custom field id) for supported fields for automation rules.
The essential steps are:
https://<yourinstanceurl>/rest/api/2/issue/<issuekey>?expand=names
Finally, and assuming the field type is date picker and the smart value is correct...
In the edit, you want the source to be the parent (trigger issue), correct? If so, please change that edit action to use:
{{triggerIssue.Install_Date.minusBusinessDays(2)}}
If the name and type of Install_Date are different, please adjust this accordingly.
Kind regards,
Bill
Thank you so much Bill!
To your question, yes, Install_Date was a date picker and so was due date. Also, I was using the correct capital and non-capital letters.
I changed the smart value condition for the edit action to:
{{triggerIssue.Install_Date.minusBusinessDays(5)}}
and it worked!! thank you so much!
Have a great day,
Martina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting
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.