On a new 4.4 RTIR Instance I want to add a CF to a ticket. This worked fine in 3.8, but in 4.4 I always get this error:
Could not add new custom field value: That is not a unique value
I used both the name and the value of the CF directly from another ticket I created via the webinterface.
The Request:
URL: http://rt44.cert.at/rt/REST/1.0/ticket/40/edit
POST with:
{'content': 'CF.{_RTIR_Function}: IncidentCoord'}
The Response: (status code: 200)
RT/4.4.4 409 Syntax Error
# _rtir_function: Could not add new custom field value: That is not a unique value
What does this message mean?
does your custom field you are trying to set have the unique values checkbox checked?
does your custom field you are trying to set have the unique values checkbox checked?
Yes, it is.
I further found out that this problem occurs only for ticket edits, not for new tickets. For existing tickets, the value is empty string. Maybe the backend tries to add a new field value, but fails because an (emtpy) one already exists?
What kinda of custom field type is the custom field?
I think that means another ticket has the value that you are trying to set your custom field to and you are requiring all values to be unique
Thanks! That was the solution.
Altough I haven’t configured it, I did not expect that Unique means that unique in all tickets.
1 Like