zulip / python-zulip-api

Python library for the Zulip API.
https://zulip.com/api/
Apache License 2.0
359 stars 361 forks source link

Add search and JQL functions to Jira bot #596

Closed pemontto closed 4 years ago

pemontto commented 4 years ago

This PR adds functionality for searching issue summaries with search and full blown JQL search with jql.

It also supports the user defining their own HTTP scheme in the domain, this is useful for circumstances where Jira is served behind an authenticating proxy. This allows you to connect to a secondary listener that might not be HTTPS. An optional configuration parameter was also added display_url so the URL for the output links can also be controlled.

E.g. Users access Jira through a proxy at https://jira.mydomain.com. The actual Jira host listens on http://jira1.mydomain.com:8081. You can now configure this using

[jira]
username = test
password = test_password
domain = http://jira1.mydomain.com:8081
display_url = https://jira.mydomain.com
pemontto commented 4 years ago

Thanks for the quick review, I was hesitant to spam the commit history. Will address those issues now.

timabbott commented 4 years ago

Merged, after squashing that last documentation fixup commit, thanks @pemontto!