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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.