Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,732
Community Members
 
Community Events
168
Community Groups

Smart values question

hey all
hope everyone are doing well
smart values question:
i have a value that is originated form a field of dropdown list for example 06:00 (it represents time - yet we did it in a drop down list of values and not in datetime picker)
is there any way to convert it to time in smart values?
(i managed to convert it to number - but eventually i want it based on time zone)
thank you

1 answer

Hi @Alex Koxaras 

thank you - yes i looked and couldn't find any option there that will allow me to convert a value to time or a number to time

 

thank  you for your help and fast respond 

Alex Koxaras Community Leader Sep 08, 2022

@Naama Betzalel in Jira you can't have an only time field. Has to be date/time picker. So my two cents is that you have to work with two fields in order to get the time.E.g.

You have a date field called "Date". And you have the dropdown list of time called "Dropdown Time". I think that it could worth a shot of concatenating the two fields to a new variable so as to get a results of "dd/MM/yyyy hh:mm a" (where a = pm/am). Then you will try to format that variable.

There could be a chance of having to copy the new variable to a date field prior of getting the time. 

Hi @Alex Koxaras  

yes - i think you are right and there is no other option 
appreciate you help 

 

i will try to do automation on this one

thank you

Na'ama  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events