Forums

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

How to set custom field date to one week before due date

Kelly Enright
Contributor
January 24, 2019

Hello! I'm trying to figure out how to set custom field date to one week before the due date, but can't figure out how to do this

2 answers

0 votes
Iain Dooley
Community Champion
January 24, 2019

@Kelly Enright this is something you'd need to use the API for, unless you're already a Butler user you can't create an account right now, but this is what it would look like in Trellinator:

https://gist.github.com/iaindooley/6a4bafa75f5539a1cf4d30785a87692a

Kelly Enright
Contributor
January 24, 2019

 am a butler user! Is trellinator a separate power up as well?

Iain Dooley
Community Champion
January 24, 2019

@Kelly Enright if you already have a butler account, you should be able to use these instructions to set custom field values based on an offset from the due date:

https://butlerfortrello.com/trello-custom-field-automation.html

Trellinator is a Google Apps Script library for automating Trello, so it's not a power up. It's more similar to what Butler Bot used to be like before they turned it into a power up. I wrote it to replace Butler Bot for my clients because Butler, while magical and amazing, wasn't suitable as a consulting tool for delivering business systems for my clients.

It's an approved integration on Trello's website though, similar to Zapier:

https://trello.com/integrations/#/trellinator

Here's an example of an issue someone had recently that I helped them work out with Trellinator:

https://community.atlassian.com/t5/Trello-questions/Urgent-request-for-powerup-help/qaq-p/985491#M11168

0 votes
Alexey Matveev
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.
January 24, 2019

Hello,

You would need an add-on.

For example, you could use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=server&tab=overview

You could write a post function with a code like this:

#{your custom field name} = dueData - "1w"
Kelly Enright
Contributor
January 24, 2019

How do I integrate this with Trello, though? I don't see power scripts as a power up?

Alexey Matveev
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.
January 24, 2019

Ah, it is Trello. Sorry I did not notice. My answer is not valid for Trello.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events