Skip to content

Commit 3b11938

Browse files
authored
Revert "OJ-54189 Enable using group names to pull Jira users (#452)" (#453)
This reverts commit fd7d261.
1 parent fd7d261 commit 3b11938

4 files changed

Lines changed: 6 additions & 18 deletions

File tree

example.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,19 +127,11 @@ jira:
127127
# - jellyfish.co
128128

129129
# it's possible for a user to have no email. if we need to restrict users
130-
# by email domain, should null-email users be included? uncomment this
130+
# by email domain, should null-email users be included? uncomment this
131131
# if they shouldn't:
132132
#
133133
# is_email_required: True
134134

135-
# If provided, only pull users who are members of these Jira groups instead
136-
# of using the default bulk user search. If omitted, all discoverable users
137-
# are pulled.
138-
#
139-
# user_group_names:
140-
# - jira-software-users
141-
# - engineering-team
142-
143135
# This is a special run mode that allows you to skip saving your JIRA data
144136
# locally, and instead continuously submit it via S3. This run mode is good
145137
# if you plan to upload a VERY large amount of data (like an initial upload

jf_agent/config_file_reader.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ class GitConfig:
7575
'jira_exclude_project_categories',
7676
'jira_required_email_domains',
7777
'jira_is_email_required',
78-
'jira_user_group_names',
7978
'jira_issue_jql',
8079
'jira_download_worklogs',
8180
'jira_download_sprints',
@@ -169,7 +168,6 @@ def obtain_config(args) -> ValidatedConfig:
169168
jira_gdpr_active = jira_config.get('gdpr_active', False)
170169
jira_required_email_domains = set(jira_config.get('required_email_domains', []))
171170
jira_is_email_required = jira_config.get('is_email_required', False)
172-
jira_user_group_names = list(jira_config.get('user_group_names', []))
173171
jira_include_projects = set(jira_config.get('include_projects', []))
174172
jira_exclude_projects = set(jira_config.get('exclude_projects', []))
175173
jira_include_project_categories = set(jira_config.get('include_project_categories', []))
@@ -286,7 +284,6 @@ def obtain_config(args) -> ValidatedConfig:
286284
jira_exclude_project_categories,
287285
jira_required_email_domains,
288286
jira_is_email_required,
289-
jira_user_group_names,
290287
jira_issue_jql,
291288
jira_download_worklogs,
292289
jira_download_sprints,
@@ -458,7 +455,6 @@ def get_ingest_config(
458455
# User Info
459456
required_email_domains=config.jira_required_email_domains,
460457
is_email_required=config.jira_is_email_required,
461-
jira_user_group_names=config.jira_user_group_names,
462458
#
463459
# Projects Info
464460
include_projects=config.jira_include_projects,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies = [
2020
"python-dotenv>=1.0.0",
2121
"structlog>=24.4.0",
2222
"colorama>=0.4.6",
23-
"jf-ingest==0.0.288",
23+
"jf-ingest==0.0.285",
2424
]
2525
requires-python = ">=3.13,<3.14"
2626
readme = "README.md"

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)