Create a Unique Identifier

Shivalika Sharma
Contributor
October 30, 2024

Hello,

Part 1) I am trying to create a unique identifier for every ticket created using Confiform. Is there any built in option for that?

Part2) I was also thinking of using the timestamp with milli seconds when a ticket is created. Is there a way to get current data and time in Confiforms? Please guide me here as I am still learning.

Part 3) Also let me know if this could be achieved using javascript, if so, then how can I achieve that.

Thank you! 

 

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 30, 2024

ConfiForms has recordId and id fields available in every record

https://wiki.vertuna.com/display/CONFIFORMS/Documentation

Shivalika Sharma
Contributor
October 30, 2024

Thank you!

I tried doing that and am able to get a unique ID.

A leading question.

I have setup a dashboard where I view the submitted tickets. The default phase is detection. For some reason my id does not show on this view 
image.png

in detection phase, but when I edit and change my phase to response, it shows up on the dashboard. There are no rules on the id, not sure why this would happen. I can see the ID (request id) when I edit the entry, but just not on the dashboard. Please advice!

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 30, 2024

What is a Request id and how do you assign/set it?

Shivalika Sharma
Contributor
October 30, 2024

image.png
I am getting request id using above and setting a value to ready only field (formid).

Please let me know if I am doing it right way.

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 30, 2024

id is available only after record is created. for new records this does not make much sense, as the value is empty

Shivalika Sharma
Contributor
October 30, 2024

Makes sense. I just need it after the record is created.
How can I invoke it so that it shows up in the dashboard?

Thank you!

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 30, 2024

Why do you want this in another field and dont want to use the existing "id" field?

Shivalika Sharma
Contributor
October 30, 2024

Sorry, I think I am missing something. How can I use the existing "id" field?

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 30, 2024

Inside your TableView macro put a ConfiForms Field macro, with a field name parameter set to id

Shivalika Sharma
Contributor
November 3, 2024

Got it, thanks so much @Alex Medved _ConfiForms_

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events