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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
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.
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.