New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[enhancement] #62 - Provide link towards created issue #63
Conversation
418a514
to
0ce58c3
Compare
1 similar comment
@benichu Ready for review |
@@ -180,7 +180,8 @@ command :new do |c| | |||
puts " to the project: #{project[:name]}" | |||
parsed_checklist = Checklister::Parser.new(checklist_path, title) | |||
issue = api_client.issue.create(project_id, parsed_checklist.to_params) | |||
puts "* Issue successfully created!" | |||
issue_url = issue.url || issue.web_url |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If url
is a property from the github response, can you find out if html_url
is available? https://developer.github.com/v3/issues/#response-3
Because it looks like url
returns the api.github.com
domain (JSON response) instead of just github.com
(HTML response)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're definitely right, I changed it.
80bcfaa
to
5e4c6ad
Compare
No description provided.