Trying to get Jira fields statuscategory,Service Name,priority,acceptance,Initial PSS Analysis,Applications Impacted,Country,Acceptance criteria,Application ID ticket data using ConfiForms Rules for Field Definition’ Macro inside i Action to execute:used Lookup and set Jira issue data and i pass values to set in that text field i used reporterCF=fields.reporter.name&summaryCF=fields.summary&serviceNameCF=fields.serviceName&assigneeCF=fields.assignee&acceptancecriteriaCF=fields.acceptancecriteria&statuscategory=statusCategory.name&labels=entry.labels&country=fields.country i am passing Jira ticket number able to get summary,Reporter field from JIRA,Assignee but i am unable to fetch data from statuscategory,Service Name,priority,acceptance,Initial PSS Analysis,Applications Impacted,Country,Acceptance criteria,Application ID
I used statuscategory Field type: Status,Service Name Field type:text,priority field type:Dropdown,acceptancecriteria: Field type:Text area,PSS Priority Field type:Drop down,affectedservices Field type:Drop down,country field type:Drop down
And i am tying to update ticket also using that fields but i am facing below issue.
- com.atlassian.sal.api.net.ResponseException: Error communicating with Jira, {"errorMessages":[],"errors":{"statuscategory":"Field 'statuscategory' cannot be set. It is not on the appropriate screen, or unknown.","acceptance":"Field 'acceptance' cannot be set. It is not on the appropriate screen, or unknown.","serviceName":"Field 'serviceName' cannot be set. It is not on the appropriate screen, or unknown.","affectedservices":"Field 'affectedservices' cannot be set. It is not on the appropriate screen, or unknown."}}
Using the below json to update ticket
{
"key": "[entry.keyCF]",
"fields": {
"project": {
"key": "DCDAPROD"
},
"summary": "[entry.summaryCF]",
"description": "Testing Successful",
"serviceName": "[entry.serviceNameCF]",
"assignee": "[entry.assigneeCF]",
"affectedservices": "[entry.affectedservicesCF]",
"acceptance": "[entry.acceptancecriteriaCF]",
"labels": "[entry.labels]",
"statuscategory": "[entry.statuscategory]"
}
}