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

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

Setting entry ID to date and display yyyMMdd on the ID

I am creating a confiform that needs to have a very specific naming convention as the entry ID. I have figured out how to get all the naming convention fields to work except the DATE

Here is what I have in the IFTTT Rule:

entryId=[entry.my_Field]_[entry.my_Field1]_[entry.my_Field2][entry.my_Field3][entry.my_Field4]_ACRL_[entry.my_Field5]_[dateyyyMMdd]

All I get when I add the date metaparameter is: 

WTC000000_AD_0000000000_ACRL_$$$$_[dateyyyyMMdd]

I have also tried this method:

entryId=[entry.my_Field]_[entry.my_Field1]_[entry.my_Field2][entry.my_Field3][entry.my_Field4]_ACRL_[entry.my_Field5]_[today]

I get this output

WTC000000_AD_0000000000_ACRL_$$$$_1617692400000

Neither of these is acceptable. Is there anyway to get this to display like this:

WTC000000_AD_0000000000_ACRL_$$$$_20210406

Any help would be greatly appreciated!

 

1 answer

1 accepted

Hi

We strongly suggest not to mess with record's internal IDs and let the ConfiForms manage that.

Use an extra field for your own IDs

To answer your question:

[entry.my_Field]_[entry.my_Field1]_[entry.my_Field2][entry.my_Field3][entry.my_Field4]_ACRL_[entry.my_Field5]_[entry._now.formatDate(yyyyMMdd)]

Alex

Would this format work for renaming attachments in the same format as the above?

Suggest an answer

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

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,683 views 7 31
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