• 1.  Log a defect REST api details

    Posted 19 days ago

    Hi All,

    I am trying to create a defect in our automation scripts on test failure.

    Q1.Is it possible to log a defect when test run fails using jama REST apis? Please provide sample body and route if yes.
    I could only find a status field in sample body for test run (PUT/PATCH requests) and nothing directly for logging a defect.

    I am trying to use the following approach currently :
    1) Create an item with itemtype defect.
    2.Create relationship between test run,test case and the created defect with parent relationship type.

    Step 1 works fine. Step 2 is giving an error response (relationship rule violation) with apis. It works with web interface.
    I don't have enough access to check the relationship rules/ make changes to a rule.

    Q2. Is the current approach feasible ? Any mistakes in current approach?


    riya maliakel

  • 2.  RE: Log a defect REST api details

    Posted 14 days ago
    Hello Riya,

    Thank you for posting here in the Community and for your patience. I have been working internally and this is something our Professional Services Team may be able to assist with. I would recommend working with your Named Support Contact(s) to partner with your Account Manager to discuss further options.

    Please let me know if I can assist any further.

    Amanda Jennewein She/Her
    Manager, Customer Support
    Jama Software
    Portland OR