I'm creating a form using ConfiForms to create a JIRA task. Here is the code that I currently have located in a IFTTT to create JIRA Issue. Then a No Format macro inside of that, which contains the following code:
{
"fields": {
"project":
{
"key": "TASK"
},
"summary": "[entry.summary]",
"description": "[entry.details]",
"issuetype": { "name": "Task" },
"assignee": { "name": "[entry.user]" },
"customfield_20721": [{"id":"[entry.categories]"} ],
"duedate":"[entry.duedate]"
}
}
This code worked perfectly when the duedate was manually entered (coded date) with the expected format ("duedate":"2012-10-10" ). Unfortunately, the format that confiForms is passing through is MMM dd, yyyy; which causes a "Could not prepare JSON..." error.
Q: How can I change the format from MMM dd, yyyy to the format that JIRA is expecting: yyyy-MM-dd?