Hi All,
Can we set Due Date value automatically by Now+SLA on JSD.
Hi!
Sure! Pretty easy was is use Automation plugin,
https://marketplace.atlassian.com/plugins/com.atlassian.plugin.automation.jira-automation-plugin/server/overview
Hope it helps
Cheers,
Gonchik Tsymzhitov
HI Gonchik,
While using jira automation plugin i am getting below error. I am trying to update "Due Date" custom field.
Unknown fields set during transition. Field may not be on transition screen. Fields ignored -
Due Date (duedate)
Transitioned issues to
Completed
Hi Gonchik,
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.
Have you tried the "jiraDate"?
"duedate": " {{ #issue.SLA's.fromString.toDate}}format=\"jiraDate\"{{/}}"
Reference
https://docs.codebarrel.io/automation/smart-fields/working-with-dates.html
used this on already but din't work out
Error editing issuesSCLORD-1377 (Error parsing date string: format="jiraDate" (duedate))
Hi Rajneesh,
Can you share a screenshot of your 'Edit issue' action configuration in your rule?
Also take a look at our rule troubleshooting guide: https://docs.codebarrel.io/automation/overview/debugging-a-rule.html
In particular the 'Log action' described there might help you debug this problem!
Cheers,Andreas
If you have a scriptrunner you can write own post-function:
Actually, you should remember about different way for write data.
In your use case, I can suggest CustomField.updateValue method.
Hope it helps.
Gonchik
Hello @Gonchik Tsymzhitov,
Is it possible for you to explain more how to do it with Automation plugin? We have JSD cloud and I am struggling to find a solution for this. It would be really good if you can enlighten me
Thanks in advance!
Kind regards.
It looks like you're new here. Sign in or register to get started.