devondragon / jira-omnifocus

Ruby script to create and manage OmniFocus tasks based on your Jira tickets
Apache License 2.0
120 stars 40 forks source link

Provide an option to use HTTP instead of HTTPS #11

Closed koolkhel closed 9 years ago

koolkhel commented 9 years ago

My company's JIRA is available through HTTP only.

Thus, I need to manually edit JIRA_BASE_URL variable, and I think this is bad.

devondragon commented 9 years ago

I've updated the code, and the example config file, to put the scheme (http vs https) in the configured hostname property instead of assuming HTTPS in the code. It should be workable for you at this point.

koolkhel commented 9 years ago

Thanks! I guess, you also need to fix in-code documentation: =begin

YAML CONFIG EXAMPLE

jira: hostname: 'example.atlassian.net' username: 'jdoe' password: 'blahblahblah' context: 'Jira' project: 'Work' flag: true filter: 'assignee = currentUser() AND status not in (Closed, Resolved) AND sprint in openSprints()' =end

Anyways, thanks a lot for a useful (for me) script :-) I wonder if it would be hard to complete jira tasks from omnifocus.

devondragon commented 9 years ago

Good point! Updated and committed.