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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to update the due date in a pull request in bitbucket server

In Stash/BitBucket server (v5.14.1) I would like to automatically change the due date of a pull request through the REST API, either when creating the pull request or by updating it.


Looking through the REST API docs, looking at the put command for:

/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId} (

it looks like 'createdDate' and 'updatedDate' are the only date fields accepted?  So how do I programatically change the 'due date'?



1 answer

0 votes


Due dates are not native functionality of Bitbucket Server, and it appears that this is provided by this app:

Contact the vendor to ask if their app offers a REST API.



Premier Support Engineer


Hey Christian,

Thanks for the reply.  Doesn't look like we're using that plugin, but rather a custom field?  Is there a way to query custom fields through the REST API?


Actually, turns out we _are_ using that plugin!

I was able to get the information I needed from it's REST API:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

451 views 4 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you