It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Kelly Enright Jan 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
Alexey Matveev [cPrime] Community Leader Jan 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 Jan 24, 2019

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

Alexey Matveev [cPrime] Community Leader Jan 24, 2019

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

0 votes
Iain Dooley Community Leader Jan 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 Jan 24, 2019

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

Iain Dooley Community Leader Jan 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

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Trello

My e-portfolio: using Trello to keep track of skills and experiences

The days are flying by so fast, I can’t seem to slow things down no matter how hard I try. My memory is great; however, I can’t seem to remember vivid details or even highlights from each year of my ...

1,075 views 13 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you