Forums

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

How does one obtain the action id for excluded action types?

Rich Nieto July 14, 2020

We're using the boards associated with a Trello Team to create a dashboard of analytics; we're using the REST API to gather all the data required. We've hit a bit of a snag in trying to come up with a card-level "date of last activity" variable because we came to learn about the pesky excluded action items that are not (easily?) returned by the API.

According to this line found here

However, no nested actions resource will return action types of updateCheckItem: /cards/{id}/actions/, /boards/{id}/actions/. However you can get that specific action instance via GET /actions/{id}/.

According to the last line, I should be able to request the info for an excluded action if I had that actions id, but this seems like a catch-22 -- how do I obtain the id for an action that I don't seem to have any access to? Am I missing something?

1 answer

0 votes
milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2020

@Rich Nieto hi, I have been using py-trello and used a lot of triggers on Wayscript to watch activities on the boards. I used that page a lot especially the Google Sheet. I did not pay much attention to the opening 2 para only because thus far I have not encountered any difficulty.

Recently I worked on checklist a lot and created this https://www.loom.com/share/67c10b64313f4ef0aa0c7602251b125a

Ironically, this morning I am working on an idea baed on Iain Dooley on member cards and was looking into creating a some performance reports as well.

I never had needed action ID since the data from Wayscript does accurately reflect the event on the board. Perhaps I have not dived deeper than what Wayscript Triggers provided me. 

I read the para on included and excluded actions and it does not make any sense to me. Below is how the data would appear to me while I debug.

Screen Shot 2020-07-15 at 6.55.59 AM.png

Rich Nieto August 12, 2020

@milynnusFor our use case, it's important for us to grab the date a label changed on a particular card. Unfortunately, label updates is an excluded action. In fact, it's the very action that's used as an example in those first two paragraphs. From that documentation, it sounds like if I knew the ID associated with the update label action then I could get the date, but how does one get the ID??

milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 12, 2020

@Rich Nieto  the trigger, think of it as a custom webhook, has option to output action date and time. So in that sense if I am in your position my requirement can easily be met. As for the id, I will need to look into the a webhook to see if the Id is there. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events