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. 

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

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!!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

308 views 1 3
Join discussion

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