hi Team, I am trying to create a confiform for my team, where the team submits a form and a Jira ticket is created. i am struggling with 2 issues.
1. making Due date field is optional- if users leave it blank if am getting an error message as i cannot make the due date field optional in JSON- is there a way to mark the code to optional and only work when the field has value.
2. when users select any 1 out of 5 radio buttons- depending on the selection it has to select to sepecific user1 , user2 or user3 and add to ASSIGNEE in Jira
any help is much appreciated.
{
"fields": {
"project": {
"key": "Anand's Project"
},
"summary": "[entry.tbSummary]",
"description": "h2.Requestor \n *Name:* [entry.tbName] \n *Email:* [entry.tbEmail] \n *C/D#:* [entry.tbID] \n \n h2.Details \n *Description*: \n [entry.taDesc.escapeJSON] \n *Deliverables Required*:[entry.textdeliverables.escapeJSON] \n *Type of Request*: [entry.radiorequesttype] \n *Is there a specific deadline that needs to be met?:* [entry.texttargetdateYN] \n *Target Launch Date*: [entry.texttargetdate]",
"reporter": {
"name": "[entry.tbID]"
},
"issuetype": {
"id": "6"
},
"duedate": "[entry.texttargetdate.jiraDate]",
"priority": {
"name": "[entry.radiobusinesspriority]"
}
}
}