I have a custom field that is a date picker at the story level and I want to copy this dater value over to specific sub-tasks due date and then minus an incremental number of 6 business days anytime the custom value date is adjusted.
USE CASE:
Story/ Requested Deployment Date - 30/Sep/19
Automation Rule = {{triggerissue.fieldid=customfield_12717.minusBusinessDays(6)}}
JSON:
{
"fields": {
"Due Date"{{triggerissue.fieldid=customfield_12717.minusBusinessDays(6)}}"
}
}
Expected Result: Subtask/Due Date = 20/Sep/19
What's your question?
Try the following by the way
{{#issue.customfield_12717}}func= minusDays(6){{/}}
Add 2 rules
One for automating the copy of value of sub-task
Another for customfield changed event
Would this go into the JSON or the JQL function ?
Im looking to copy my custom field date of my story to the due date of my subtask
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would write this in automation rule for due date field in sub tasks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I received the error:
"Error parsing template: Mismatched start/end tags: null != in template-7103ef77-4e4e-4ce9-9b81-b887d52c88ee:1"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not the json section. You had it right in the above screenshot.
It would go in the field value section.
Copy paste this in the value section and perform testing. I don't think you need trigger stuff.
{{#issue.customfield_12717}}func= minusDays(6){{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What if I had the same error (not the same automation task) where I need to incorporate smart value in JSON string, how can that be done?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.