Greetings,
As topic name mentiones, is it possible to extract through REST or DB project creation time? We would like to monitor amount of private repositories and sort them by creation date. Thank you.
Hi Erik,
is your question about Bitbucket or Bitbucket Server?
Cheers,
Christian
Premier Support Engineer
Atlassian
Greetings, Christian.
Bitbucket Data Center hosted in AWS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Erik,
There is no way to do this via the REST API, but the following query on the database should give you this information:
SELECT p.name, pa.DATE from project p, AO_BD73C3_PROJECT_AUDIT pa WHERE p.id = pa.PROJECT_ID AND pa.ACTION='ProjectCreatedEvent'
Cheers,
Christian
Premier Support Engineer
Atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for example.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm, I'm getting followin error, despite I see this table in pgAdmin
ERROR: relation "ao_bd73c3_project_audit" does not exist
Will try to investigate myself too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
solved: double quotes needed for pgAdmin. Thanks again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Surely the .../rest/api/3/project/ endpoint could easily be enhanced to return create date?
Infact, it should support a filter to search project by create date!!!
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.