TIME LABEL CHANGE
Asked by Daniel Mendes:

Does anyone know tell me if it is possible to configure the Card to change its label missing for example 30 days for the delivery date to expire?

**Example:** My card has a green tag, but when it's 30 days before the due date I want it to automatically change the tag to red.


Answers:
author: carrie_eandm
body: [@Daniel Mendes](/t5/user/viewprofilepage/user-id/3673323) You can use Butler commands to automate this for you! One warning though is that Due-date triggers are not retro-active, so anything that's within 30 days prior to the command being set up will not change.

* From your Board, click on the Butler button (upper right bar)
* Go to Due Date (left side of popup)
* Click on the green "Create Command" button on the right of popup
* Click on the "+ Add Trigger" bar
* On the 2nd option, change the Due Date Trigger to 30 days and then click the green + button to add this trigger
* Then select the Add/Remove Action
* On the first option, click "add" and change to "remove" -- then click the green + button to add this trigger
* Then add your second command to add the red label to the card (same option as the previous command)
* Save!

Your completed command should look like this after saving:

![Screen Shot 2019-12-13 at 1.34.46 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/76275i0409A01F7ADBA566/image-dimensions/554x86?v=v2 "Screen Shot 2019-12-13 at 1.34.46 PM.png")

comments: author: Daniel Mendes
body: Is that correct?

![Captura.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/76276iB699304EA7954B3B/image-size/large?v=v2&px=999 "Captura.PNG")

[@carrie_eandm](/t5/user/viewprofilepage/user-id/3523428)

It's not happening on my cards! : /

They are not retroactive, I waited two days for the automation to work and it was not!


author: carrie_eandm
body: [@Daniel Mendes](/t5/user/viewprofilepage/user-id/3673323) Your formula is correct. What I am worried about is that the cards you are looking at have a due date within 30 days, the command won't recognize that. For instance, if you add a card now and set the due date for next Friday, the command wouldn't recognize that and change the label because it is only looking for cards that are hitting the 30 days before due.

Have you tried setting a card for 31 days out and see if the command changes it the next day?

I'm not sure if there's a way to set a range or "under 30 days" instead. I went back into Butler and poked around. I wasn't able to find anything.


author: Daniel Mendes
body: [@carrie_eandm](/t5/user/viewprofilepage/user-id/3523428)

I did these tests!

![Capturar.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/76320i0A0B52F14BFF800C/image-size/large?v=v2&px=999 "Capturar.PNG")


author: Daniel Mendes
body: The card due January 12, 2020 should have already changed the label.


author: Ludo
body: Hi

sorry it is not clear.  
can you give more details  
- the initial characteristics of the card  
- the final characteristics  
- the chronology of events

comments: author: Daniel Mendes
body: My card has a green tag, but when it's 30 days before the due date I want it to automatically change the tag to red.


author: Daniel Mendes
body: It was clear?


author: Ludo
body: It is possible if you have a business class account .In this case, you can create a due date command.

comments: author: Daniel Mendes
body: [@Ludo](/t5/user/viewprofilepage/user-id/3603216) I have a class account