Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 do I get a job number to automatically update when creating or copying a new card

When I create or copy a new card I want the job number to automatically update.

Is there a way to do this?

Thanks 

Claire in Marketing

2 answers

1 accepted

0 votes
Answer accepted
Iain Dooley Community Leader Jun 17, 2020

@Claire_Ashton there's no automated job number, but every card has a short ID which you can access via a Butler variable, for example:

2020-06-17 at 10.15 pm.pngthis isn't a particularly memorable job number, but you could always just refer to it using the first or last 3 digits, for example if the card id comes out as "95g2iwrH" you could just call that job 95g.

I don't think you'll be able to do it with Butler, but this Trellinator function would for example find the maximum job number on the board and add 1 to it and set the created card title to append a job number in the format "#X":

https://gist.github.com/iaindooley/97adc91a07451576cbc62bbf523611ab

You can read more about Trellinator here:

https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271

Thanks for the help!

Like Iain Dooley likes this

I am pretty new to Trello in terms of Butler and Power UPS as well but played a bit with it from an automation perspective to know enough using the scripting platform and py-Trello library. The scripting platform has a simple way to trap events on the board like card movement (updateCard actually since the change is the list) or createCard. So once you can do that you can do many things including generating a reference number. I used random number for generating food orders on a Trello. What all this mean is some programming is needed. 
others in the community can probably share with you an easier way. But I realised that to do transaction type of use case with Trello you will need some  coding and some automation platform that works well with Trello. 

thank you for your feedback much appreciated

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 What is Trello?

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...

752 views 13 30
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