I want to run a query on JIRA issues that will give me the repository name for any commits to a ticket. I can't find a way to get this information.
Hi Becky,
Welcome to the Atlassian Community.
The only thing that you can query on in Jira regarding the integration with Bitbucket are these field references:
None of these will give you the repository, since Jira does not hold that information. You would have to use the REST API in Bitbucket to get that information.
Is there a way to reference the REST API in Bitbucket from a JQuery?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Short answer is no. You would need an app to do that. Or create your own script that gets the result from your JQL query, and extracting the data from Bitbucket using the issue keys as input to get the commit, and from the commit get the repository. You can access the documentation for the REST APIs here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.