Questions for Confluence license has expired.

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

set default value for a number field

 
1
0
-1

is ist possible in exalate to set a number as default value for a number field?

How would it work?

  1. Mariia Onyshchenko

    Patrick Mennecke ,

    Could you please elaborate on your use-case?

    Also, is it Cloud-Cloud? Cloud-OnPrem?

  2. Patrick Mennecke

    Hi,

    it is in Data Center. I have a Number field with a default value. But get i tickets via exalate from SNOW the field haven`t the default value. So i want to set it in the exalate script .

    for example:

    issue.customfields."text"?.value = "No"  → that works

    issue.customfields."number"?.value = "0"  → that doesn`t work

CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1

    Hey Patrick Mennecke ,


    This article should show help you. 


    There is a section that explains how to set the default value in any custom field.


    Let me know if this answers your question.

      CommentAdd your comment...