Hi all,
While updating "Due Date" with the value of SLA's in jira Automation i am getting below error. can you please help me to solve this.
here is the json string.
{
"update": {
"labels": [
{
"add": "triaged"
},
{
"remove": "blocker"
}
],
"comment": [
{
"add": {
"body": "Thanks for raising {{issue.key}}."
}
}
]
},
"fields": {
"duedate": "{{#issue.SLA's.fromString.toDate}}longDate{{/}}"
}
i im trying to achieve due date out of SLA. but getting below error
Error editing issuesSCLORD-1353 (Error parsing date string: . (duedate))
pleaes help me to resolve this.
Hi,
maybe this thread will help you further?
I think you need to find a way to read de sla and add it up to the creation time of the ticket.
so something like "duedate": "createddate" + "Time to resolution"
Thanks Laurens but i am looking at how to read sla but no luck so far.
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.