Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Deprecated APIs

John Lawlor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 10, 2019

I can't seem to find these apis anywhere:

 

com.atlassian.bitbucket.util.PageUtils;

com.atlassian.bitbucket.util.PagedIterable

There is no reference to them in the API changelog:

https://developer.atlassian.com/server/bitbucket/reference/api-changelog/

2 answers

1 accepted

0 votes
Answer accepted
John Lawlor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 18, 2019

The PageUtils class is part of bitbucket-util jar.

https://packages.atlassian.com/maven-external/com/atlassian/bitbucket/server/bitbucket-util/

Just add a dependency

  <dependency>
      <groupId>com.atlassian.bitbucket.server</groupId>
      <artifactId>bitbucket-util</artifactId>
      <scope>provided</scope>
  </dependency>
0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 18, 2019

Hi John,

I don't get what is your question exactly.

The Bitbucket Server API gets installed along with BB Server itself. Upgrading BB Server upgrades the API; keeping a BB Server instance as it is means that instance’s API remains as it is.

If you have any specific questions, please let us know which Bitbucket Server version are you using. 

Best regards,

Ana

John Lawlor
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 18, 2019

Hi Ana,

I found the answer in the interim. Thanks for your help.

John

Steve Siano May 30, 2020

Hi @Ana Retamal,

Should PageUtils and PagedIterable be documented in the com.atlassian.bitbucket.util Java API?

I don't see them for Bitbucket Server 5.12.0:

https://docs.atlassian.com/bitbucket-server/javadoc/5.12.0/api/reference/com/atlassian/bitbucket/util/package-summary.html

I also don't see them for the latest version:

https://docs.atlassian.com/bitbucket-server/javadoc/7.2.4/api/com/atlassian/bitbucket/util/package-summary.html

 

Cc: @John Lawlor

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events