Forums

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

How can I GET the link of a GitHub Pull Request through Trello's API?

Isaac Vongphakdy
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!
July 31, 2018

I am writing a Python script that gets certain information about a Trello Card and prints it out on screen.

Using Trello's REST API and .json data, I need to pull the following information:

1 - Card URL

2 - Completed Checklist Items

3 - GitHub Pull Request URLs

With GitHub being a Trello Power Up, there doesn't seem to be a way to easily retrieve the URL of each Pull Request through the API.

1 answer

0 votes
Marta Galofre de Alos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 6, 2018

Hey Isaac,

Marta here, from Trello Support.


I will post my response here as well so it's available to other customers. To get all of the Github PR's linked on a card, you will need to filter through the attachments.https://developers.trello.com/v1.0/reference#cardsidattachments

Cheers!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events