Hi,
Wanted to know if there is a way to reference the API to get the age of a pull request from its creation? I am investigating ways to send mattermost messages to our team via webhook from bitbucket for forgotten pull request (PRs older than a certain amount of time). Thanks!
If well-designed and tested apps are not for you, you can set the auto-decline (forgotten) period in BB repo settings and then add a webhook that signals your external system when the PR 'declined' event occurs.
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.
Hi Justin,
Are solutions that involve apps up for your consideration?
It is possible to get the age of a pull request with the REST API provided by the Awesome Graphs for Bitbucket app.
Pull request data that you can get with Export to CSV and Awesome Graphs REST API contains the information on the creation date for each pull request and can help you track how long a pull request was open.
Cycle Time information, along with its phases, is also available, in case you would like to explore it in more detail.
Let me know if you have any questions.
Best regards,
Vlada at Awesome Graphs team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi! Thank you for your response.... This looks great, but unfortunately we are looking for something non app related. Is there a way to get info for example from an api call? Thanks you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Justin,
I am glad to hear that you like our solution. We also understand that purchasing an app might not be possible for every team. It seems that one workaround has already been suggested here. Still, if you ever decide to proceed with the REST API specifically, you can always generate a free trial for Awesome Graphs to evaluate the fit for your case.
Kind regards,
Vlada
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.