-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdownload_steps.py
More file actions
30 lines (28 loc) · 1.3 KB
/
download_steps.py
File metadata and controls
30 lines (28 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from assertthat_bdd.jira_integration import JiraConnector
JiraConnector.download_features(
# Jira project id e.g. 10001
project_id='PROJECT_ID',
# Optional can be supplied as environment variable ASSERTTHAT_ACCESS_KEY
access_key='ASSERTTHAT_ACCESS_KEY',
# Optional can be supplied as environment variable ASSERTTHAT_SECRET_KEY
secret_key='ASSERTTHAT_SECRET_KEY',
# Optional - default ./features
# Optional can be supplied as environment variable ASSERTTHAT_TOKEN for Server and Data Center only
# token='ASSERTTHAT_TOKEN',
output_folder='./features',
# Required for Jira Server only. Omit if using Jira Cloud version
# jira_server_url='https://mycompanyjira.com'
# Optional - all features downloaded by default - should be a valid JQL
# jql = 'project = XX AND key in ('XXX-1')',
# Optional - tags
# tags='@xxx'
# Optional - default automated (can be one of: manual/automated/both)
# mode='both',
# Optional - Detail the proxy with the specific scheme e.g.'10.10.10.10:1010'
# proxy_uri='proxyip:port',
# proxy_uri= 'proxy_uri',
# Optional - user name which will be used for proxy authentication.*/
# proxy_username='username',
# Optional - password which will be used for proxy authentication.*/
# proxy_password='password'
)