The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

using python to read pull request description message and check its contents

Adrian Mayes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 19, 2023

Using python I'd like to read a specific Pull Request's Description and then parse it to check its contents against a list of acceptable keywords.

I've seen the bitbucket python api but I'm not seeing a way of getting the textual contents of the Pull Request. Would the following return the description ?

bitbucket.get_pull_requests

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Adrian Mayes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 19, 2023

in pullRequests.py there is a 'description' method

TAGS
AUG Leaders

Atlassian Community Events