I'm writing a plugin and wanted to pull all Jira ticket along with their url (multiple Jira instance are linked to my bitbucket data center). and export it
Currently I'm calling pull request api is which is returning internal url which can be resolved from browser but I'm looking for exact url or way to get Jira ticket url out of it.
I see some workaround by calling below bitbucket rest api
/rest/jira-integration/latest/issues?issueKey=C1311-9&fields=url
"url":"https:\/\jira.atlassian.com/\/jira\/browse\/C1311-9"
Read url value from the response json, it will give Jira URL for provided ticket.
If anyone have more simpler solution or using Java API, kindly suggest.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.