Hello,
Is there a way or script to list bitbucket branch into a dropdown list that related to a Project Key.
The plan is that when create Jira Issue bug, we can select a branch from the list and it will appear in detail section.
Product used is JIRA Server & Bitbucket Server.
Thanks in advance.
+1 Looking for a free way to have a custom field that allows the user to select any existing branch on the Jira issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @[deleted]
You can accomplish this with the app Elements Connect (previously called nFeed).
(Disclaimer: I am the product manager of Elements Connect, I work for Elements)
Here is how:
rest/api/1.0/projects/PROJECT-KEY/repos/REPO-NAME/branches?filterText=$userInputwhere PROJECT-KEY is the bitbucket project key and REPO-NAME is the bitbucket repository nam
$.values
{0}
This is the configuration of a bitbucket repository picker. The text typed by the user in the autocomplete field is used to filter the query. ($userInput variable).
You can adapt this configuration to your needs and explore the Bitbucket configuration here: https://docs.atlassian.com/bitbucket-server/rest/7.3.1/bitbucket-rest.html?#idp200
If you have another question about Elements Connect, please contact our support team.
Hope it helps
Regards,
Christophe
Lead Product Manager @ Elements
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.