Fixed On Our cominication server, let us know if you have others issue! Here or on Comunication Server.
I agree this is very cool and Im going to use this in my new game.
Am I missing something, because I am confused, what does this module do exactly?
This Module will help you interact with Trello Easily with pre-built functions.
For many developers the trello API can be complex so I built this API with pre-made functions to interact with trello, Ex: Create Card, Fetch Cards On List, Add Comments to Cards etc…
Thanks for explaining! I never heard of trello before so I was confused.
Hello there! Can I have an updated version of the Training List model. Can you also provide information on how to set it up for both Trello and Roblox.
Thanks in advance!
@Kalmai221P
Update!
- Updated UpdateCardFunction.
New Structure:
BoardOptionalData Type: Table || Example
{
["Name"] = "My New Card Name", Type: String
["Description"] = "My fantastic Description", Type: String
["idLabels"] = {"ID1","ID2"}, --> Type: Array (Table)
["Closed"] = true --> Type: Boolean (Table),
['idList'] = "IDNewList" -- // NEW!
}
Now you can add idList Parameter and easily move your card to another list.
Example Usage:
local TrelloAPI = require(script.Parent.TrelloAPI)
TrelloAPI.CardsAPI.UpdateCard("Card_Id",{['idList'] = "New_List_Id"})
Thank you to @Da_Fr0st for the suggestion.
Also Thank you for reaching 185+ Sales!
Support us by click a on our Original Post
I have another suggestion. You could add a dates function to add, edit and remove dates from cards. The images below if what I am referring to.
Can someone post an example of how to use the TrelloAPI:AddCard()
function…? I am confused as to what information should go into the parenthesis.
This is the code i’m using, but i’m getting HTTP 400 (Bad Request)
for some reason.
-- // Require TrelloAPI
local TrelloAPI = require(game.ServerScriptService:WaitForChild("TrelloAPI"))
local BoardID = TrelloAPI.BoardsAPI.GetBoardID("Roblox Trello")
local ListId = TrelloAPI.BoardsAPI.GetListID(BoardID, "VerifiedUsers")
TrelloAPI.CardsAPI.CreateCard("Test123", ListId, {
["Description"] = "Your Fantastic Description",
["idLabels"] = {"Id1", "Id2"},
["AttachmentLink"] = "https://www.roblox.com"
})
@Sonostrano20 Can you help me to what i did wrong here?
If you are using this exact code idLabels is wrong:
Since you need to replace “Id1” or “Id2” with you’re LabelsId.
This is a good suggestion, however there may be some problem with roblox’s functions in sending dates in the correct format.
Also do you want it to also be possible to tick the date?
I could probably work on this in the near future
Sorry but, On our TrelloAPi There is not a “:AddCard()” Function,
Consider first checking what api you are using and give a look at our API
Link: TrelloAPI [195 + Sales] [ReMade] - Roblox
Information About .CreateCard function on our TrelloAPI che be found here (It Got Updated)
Hello again, now i understand to what idLabel
is, i started making it after you replied, this is what i got;
-- // Require TrelloAPI
local TrelloAPI = require(game.ServerScriptService:WaitForChild("TrelloAPI"))
local BoardID = TrelloAPI.BoardsAPI.GetBoardID("Roblox Trello")
local ListId = TrelloAPI.BoardsAPI.GetListID(BoardID, "CreateTest")
local Labels = TrelloAPI.BoardsAPI.GetLabelsOnBoard(BoardID)
local LabelId = Labels[1]["id"]
print(Labels)
-- It prints out the table.
TrelloAPI.CardsAPI.CreateCard("Test123", ListId, {
["Description"] = "Your Fantastic Description",
["idLabels"] = { LabelId },
["AttachmentLink"] = "https://www.roblox.com"
})
Something went wrong, (See attachment)
It doesn’t seem to add the Label, again… Did i do something wrong or is this a bug?
EDIT:
Other than all of the stuff above, Thank you for making this module! I didn’t knew trello has a API to directly do all of these! I love this .
Label on trello are this:
Could you send Table output?
Heres the table output:
And here’s the labels on Trello:
Can you send me the output photo of this:
print(Labels[1]["id"])
No need to hide Boardid or ListId, Since without you’re credential that data it’s inutil and in any case it is already publicly visible.
Thank you for telling me that.
The Server:10
is the Labels[1]["id"]
.
What do you mean by this? Because I’m not sure.
I used this code which should add a card to a trello board right. However, there is an error that starts on line 4…? Everything seems fine to me. Anyone know what the problem is?
local createBanEvent = game.ReplicatedStorage:WaitForChild("ModeratorEvents").CreateBan
local TrelloAPI = require(game.ServerScriptService:WaitForChild("ModerationScripts").TrelloAPI)
local BoardID = TrelloAPI.BoardsAPI.GetBoardID("Game Bans")
local ListId = TrelloAPI.BoardsAPI.GetListID(BoardID, "Banned Players")
createBanEvent.OnServerEvent:Connect(function(userID, reason, length)
TrelloAPI.CardsAPI.CreateCard(userID, ListId, {
["Description"] = reason.." ["..length.."]",
["idLabels"] = {"62c4572c5407de72ee03c356"},
["AttachmentLink"] = "https://www.roblox.com/users/"..userID.."/profile"
})
end)