1
0
mirror of synced 2025-12-23 21:03:15 -05:00

Source Jira: certification updates: docs, project_permission_schemes stream, issues expand made as default (#30688)

Co-authored-by: darynaishchenko <darynaishchenko@users.noreply.github.com>
This commit is contained in:
Daryna Ishchenko
2023-09-28 11:08:31 +03:00
committed by GitHub
parent 0d39e09c92
commit ee168471b8
13 changed files with 522 additions and 59 deletions

View File

@@ -276,12 +276,12 @@ def mock_issues_responses(config, issues_response):
responses.add(
responses.GET,
f"https://{config['domain']}/rest/api/3/search",
match=[matchers.query_param_matcher({"maxResults": 50, "fields": '*all', "jql": "project in (1)"})],
match=[matchers.query_param_matcher({"maxResults": 50, "fields": '*all', "jql": "project in (1)", "expand": "renderedFields,transitions,changelog"})],
json=issues_response,
)
responses.add(
responses.GET,
f"https://{config['domain']}/rest/api/3/search",
match=[matchers.query_param_matcher({"maxResults": 50, "fields": '*all', "jql": "project in (2)"})],
match=[matchers.query_param_matcher({"maxResults": 50, "fields": '*all', "jql": "project in (2)", "expand": "renderedFields,transitions,changelog"})],
json={},
)