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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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!

TAGS
AUG Leaders

Atlassian Community Events