Complete the code to create a new test case in TestRail using the API.
response = client.[1]('add_case/1', data)
In TestRail API, the method to add a new test case is add_case.
Complete the code to filter Jira issues by status using JQL.
jql_query = 'project = TEST AND status = [1]'
The JQL status 'In Progress' filters issues currently being worked on.
Fix the error in the code to update a test run status in TestRail.
client.[1](run_id, {'status_id': 1})
The correct TestRail API method to update a test run result status is update_run_result.
Fill both blanks to create a Jira issue with a summary and description.
issue_dict = {'fields': {'summary': [1], 'description': [2], 'project': {'key': 'TEST'}, 'issuetype': {'name': 'Bug'}}}The summary is a short title like 'Test failure in login', and the description explains details like 'Steps to reproduce the issue'.
Fill all three blanks to create a TestRail test run with a name, description, and suite ID.
run_data = {'name': [1], 'description': [2], 'suite_id': [3]The name is 'Regression Test Run', the description explains 'Run for release 1.2', and the suite_id is the numeric ID 5.