Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation from Custom Field Date Copy Due Date

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. 


Story/ Requested Deployment Date - 30/Sep/19

Automation Rule = {{triggerissue.fieldid=customfield_12717.minusBusinessDays(6)}}


"fields": {
"Due Date"{{triggerissue.fieldid=customfield_12717.minusBusinessDays(6)}}"

Expected Result: Subtask/Due Date = 20/Sep/19

1 answer

1 accepted

0 votes
Answer accepted

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 would write this in automation rule for due date field in sub tasks 

I received the error:

"Error parsing template: Mismatched start/end tags: null != in template-7103ef77-4e4e-4ce9-9b81-b887d52c88ee:1"

@jira guy Would this go into the JSON section? See here for screenshot. Thanks for your helpScreen Shot 2019-09-18 at 2.49.09 PM.png

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){{/}}

This worked! Thank you!!

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?

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you