How can I get description on pull request in a bitbucket server?

How can I get description on pull request in bitbucket server?

Hi @umitdemirel.ozgenpls,

Can you elaborate more? Do you intend on doing this via REST API? Or what exactly are you doing that you wanted to get the description on PR?

Thanks!

Cheers,
Anne Calantog

Hi , firstly thank you for reply.
i solved that problem. i had want that during merge check processing and i was solved this problem.

Here is the solution;

@Override
public RepositoryHookResult preUpdate(@Nonnull PreRepositoryHookContext context,@Nonnull PullRequestMergeHookRequest request) {
    
    String description = request.getPullRequest().getDescription();
    /*my codes*/

}

Hi @umitdemirel.ozgenpls,

Awesome! Thanks for posting your solution. :slight_smile:

Thanks!

Cheers,
Anne Calantog