Hi team, i'm trying to run reindexing remotely via curl on linux. Following the example I created add-opt.json:
{
"FIELD_FILTER_ID":"39864",
"FIELD_PROJECT_ID":"",
"FIELD_FUNCTION_ID":"",
"canned-script":"com.onresolve.scriptrunner.canned.jira.admin.ReindexIssues"
}
and executed command :
curl -u login:pass "https://jiraURL/rest/scriptrunner/latest/canned/com.onresolve.scriptrunner.canned.jira.admin.ReindexIssues" -H "X-Atlassian-token: no-check" -H "Content-Type: application/json; charset=UTF-8" -H "Accept: application/json" --data "@add-opt.json"
The following works perfectly on both of our test servers, however it doesnt on main server. Error is: Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token\n at
Jira ver 7.2.8