File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Built with the [Meltano Tap SDK](https://sdk.meltano.com) for Singer Taps.
30
30
| stream_map_config | False | None | User-defined config values to be used within map expressions. |
31
31
| flattening_enabled | False | None | 'True' to enable schema flattening and automatically expand nested properties. |
32
32
| flattening_max_depth| False | None | The max depth to flatten schemas. |
33
-
33
+ | projects | False | None | The jira projects to sync issues from. If None, select all projects |
34
34
The auth setting works either with access token or username/password, set by the following configs:
35
35
36
36
Auth with access token:
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ plugins:
24
24
- name : auth.username
25
25
- name : auth.password
26
26
kind : password
27
+ - name : projects
27
28
environments :
28
29
- name : dev
29
30
- name : staging
Original file line number Diff line number Diff line change @@ -2306,7 +2306,10 @@ def get_url_params(
2306
2306
2307
2307
if "end_date" in self .config :
2308
2308
end_date = self .config ["end_date" ]
2309
- params ["jql" ].append (f"(created<{ end_date } or updated<{ start_date } )" )
2309
+ params ["jql" ].append (f"(created<{ end_date } or updated<{ end_date } )" )
2310
+
2311
+ if "projects" in self .config :
2312
+ params ["jql" ].append (f'project IN({ ", " .join (self .config ["projects" ])} )' )
2310
2313
2311
2314
if params ["jql" ]:
2312
2315
jql = " and " .join (params ["jql" ])
You can’t perform that action at this time.
0 commit comments