Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Error: The customfield `11406` was assigned to `value=2 - Medium class=java.lang.String`, but it should have been set to a custom field object

 
2
1
0

Hi,

I have the following error:


Unexpected error occurred. The customfield `11406` was assigned to `value=2 - Medium class=java.lang.String`, but it should have been set to a custom field object


    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hello,


      This error might appear either in the Outgoing, when you assign a non Custom Field to replica.customFields:


      replica.customFields."11406" = issue.fixVersions



      The resolution there is not to use customFields but try to use the same field:


      replica.fixVersions = issue.fixVersions



      Or in the incoming when you do something similar when setting the custom field:


      issue.customFields."11406" = "My value"


      The resolution there is to add .value

      issue.customFields."11406".value = "My value"
        CommentAdd your comment...