using HTML I crated a date Picker I need to use that date when I use IFTTT to create a jira ticket. HTML field is startSprintDate this is out side of the confi form. I will put it in the form if there are any ideas how the Javascript does the heavy lifting for me. the goal is to set a target start and end date
{"fields" : {
"project": { "key": "[entry.ProjectID]" },
"issuetype": { "name": "Task" },
"fixVersions": [{
"name": "[entry.fixVersion.releaseName]"
}],
"assignee": {
"name": "[entry.BSA.Label]"
},
"customfield_24100": "{{sprintStartDate}}",
"customfield_24101": "[entry.MALDate.jiraDate]",
"customfield_10006": "[entry.ParentLink]",
"customfield_19600": "8633",
"summary": "[entry.Prefix] - Malcode Setup",
"description": "Submit request for Malcode setup"
}
}
I would move the date picker inside the actual ConfiForms form, even if it stays visually hidden; something like sprintStartDateHidden, type date.
Keep your HTML date picker outside the form and add a small JS snippet (in Custom JS or a macro) that listens for change events and updates the hidden ConfiForms field. You can inspect the HTML to find the correct IDs. Reference the hidden field like "customfield_24100": "[entry.sprintStartDateHidden.jiraDate]" in the template. Ensure customfield_24100 is a date field in Jira, not datetime, to avoid format issues.
Just an idea.
Cheers, Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.