REST errorMessage when inserting a new issue with a regex customfield attached

Issue #3 resolved
fay dembri created an issue

In one of my projects, I'm trying to migrate data from an old "issue tracking system" to JIRA. The insertion in JIRa is made through REST API 2.

However, REST API sends me back an error message when inserting a new record/issue especially with a customfield as regex field (here customfield_10102 is regex).

The data sent :
{"fields":{"project":{"key":"SLD"},"summary":"something's wrong","description":"test","issuetype":{"name":"standard"},"reporter":{"name":"myname"},"customfield_10102":"0000000001326844"}}

The error message :
{"errorMessages":["Internal error"],"errors":{}}

Is there an explanation to that ?
My project is completely blocked by this issue.

Thanks in advance.

Comments (4)

  1. fay dembri reporter

    Hi Andrey, and thank you for your reply.

    Here's the info :
    JIRA 5.2.11
    Unique Regex : 1.2
    * Regex Example : ^((?:AV)?[0-9]{16}|AVSBO[0-9]{13}|S[0-9]{6}|[0-9A-Z][+-][0-9A-Z][0-9A-Z][0-9A-Z][+-]?[0-9A-Z][0-9A-Z]|[0-9]{9}|S-MS-[0-9]{7}|XN[0-9]{18})?$

    Thanks.

  2. Log in to comment