I am creating automation rule for jira and i want my due date in task to be copied in newly created sub task. I am using below smart values but it doesn't seem to work for me
{"fields" : {"duedate" : "{{issue.dueDate.format("MMM dd,yyyy")}}"}}
Hi @Barkha Singh and welcome to the community,
You have to have Edit and Schedule issue permissions to perform this action. Can you confirm that you have these permissions? In addition it seems to me that the format inside the parenthesis isn't correct.
And may I ask... you are copying which Due Date to which field? It seems that you are trying to copy the same field on itself. No?
jira has this format for date and i want my due date to be cloned in same forma
My automation rule is to clone the due date in subtasks from parent task
Using the format on the due date will not make any difference to the field. You have already set the due date on your instance. Java format syntax can be found here (https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html). But why you dont copy the due date like this:
It looks like you're new here. Sign in or register to get started.