For a public repository, bitbucket.org UI allows setting the issue tracker to private. Is there a REST API end point to either set or at least check if the issue tracker is set to private for a repository?
Repository resource only has has_issues boolean but doesn't have any indicator to show if the associated issue-tracker is set to private.
Hi Praveen,
Unfortunately - it is not possible to interact with the issue tracker in this manner via our API, we have had a few feature requests closed due to inactivity over the years - for example (see feature request policy):
In full transparency, I don't expect a feature for this to be worked on any time soon based on the traction of previous FR tickets. I would suggest checking the status in the UI, or switching to JIRA for issue management/tracking.
Regards,
- Ben (Bitbucket Cloud Support)
Hi Ben,
Thanks for your detailed response.
Even if setting the flag is not possible, is it possible to just check via REST API whether the issue tracker is set to private?
Context: Our users use UI to set the flag. However our automation at this point needs to simply check if the flag is set to private or not.
Thanks,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
Unfortunately not - this value is not recorded in the /2.0/repositories API endpoint which houses both repositories and the issue tracker - I double checked this just to make sure.
I have raised a feature request on your behalf with our developers, please feel free to Watch this for future updates and Vote for it to improve its visibility with regard to customer demand:
Cheers!
- Ben (Bitbucket Cloud Support)
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.