Is your feature request related to a problem? Please describe.
I'd like to request adding an instance method to the JIRA::Resource::Issue class that builds a link to the browse page for the issue. The current link attributes you can access on an Issue instance (e.g. issue.self) return /api/ routes which aren't useful in the context of providing a link to an end user. I find myself recreating logic to construct links to the /browse/ endpoint in nearly every application I maintain that creates JIRA issues, and believe it could be useful for others as well.
Describe the solution you'd like
I believe a simple instance method that does something along the lines of
def browse_link
[client.options[:site], "browse", key].join("/")
end
would suffice. The real implementation would probably need some error handling in the case of a nil key.
Describe alternatives you've considered
I've tried to find other ways to create links to the UI from the available properties provided by the Issue class and have been unsuccessful.
Additional context
If there's support for this idea, I'm happy submit a PR myself.
Is your feature request related to a problem? Please describe.
I'd like to request adding an instance method to the JIRA::Resource::Issue class that builds a link to the browse page for the issue. The current link attributes you can access on an Issue instance (e.g.
issue.self) return/api/routes which aren't useful in the context of providing a link to an end user. I find myself recreating logic to construct links to the/browse/endpoint in nearly every application I maintain that creates JIRA issues, and believe it could be useful for others as well.Describe the solution you'd like
I believe a simple instance method that does something along the lines of
would suffice. The real implementation would probably need some error handling in the case of a
nilkey.Describe alternatives you've considered
I've tried to find other ways to create links to the UI from the available properties provided by the Issue class and have been unsuccessful.
Additional context
If there's support for this idea, I'm happy submit a PR myself.