Support

 View Only
  • 1.  Enforcing the value of a field unique

    Posted 12-08-2021 16:39
    Hi,

    Can we enforce unique value for a field in an item type? For example, department code = 'BDE1', 'BDE2', 'EMS1', etc. Thanks,

    ------------------------------
    Khuemy Nguyen
    Soliel
    Vienna VA
    ------------------------------


  • 2.  RE: Enforcing the value of a field unique

    Posted 12-09-2021 00:27
    Hi Khuemy,
    I do not know whether I get it correctly....
    In case of a field of type pick lists you can set the pick list to have only one value and this value set to default.
    Best,
    Alessandro

    ------------------------------
    Alessandro
    Systems Engineer
    SICK AG
    ------------------------------



  • 3.  RE: Enforcing the value of a field unique

    Posted 12-09-2021 11:39
    Hi Alessandro,
    I used pick list and multi pick list with unique values.  But I am interested in enforcing a text field or an integer field to have a unique value. Is it even possible in Jama? Thanks,



    ------------------------------
    Khuemy Nguyen
    Soliel
    Vienna VA
    ------------------------------



  • 4.  RE: Enforcing the value of a field unique

    Posted 12-09-2021 12:54
    Hi Khuemi,
    you can set the desired field as read only that can be overwritten by API. Just set the value by swagger.
    Best,
    Alessandro

    ------------------------------
    Alessandro
    Systems Engineer
    SICK AG
    ------------------------------