Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Time (hh:mm) format custom field

Michael Reiff
Contributor
October 11, 2018

How can I configure a custom field to hh:mm?

Where 00 =< hh =< 24 and 00=< mm =< 60

Or is there an AddOn?

1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 12, 2018

Are you looking to create a custom field that only has time?   If you don't mind the date, Jira's own built in custom field called date/time can be used to at least store a time value.  From there the display of that data in terms of 12-hour vs. 24-hour time formats could be achieved by following the steps in this KB: How to JIRA change the time format to 24 hours

But please understand that this kind of change is system wide to Jira, not just this one time field.

Maybe this helps, but if not, please let me know more.  Perhaps I can dig a bit deeper to see if there is a plugin to Jira to create the kind of time field you want independent of the system settings that display time formats.

Michael Reiff
Contributor
October 14, 2018

Hi Andrew,

I don't want modifiy the System Settings. They are working with date and time.

I need just a custom field without a date but with time.

Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 15, 2018

Are you using Jira Cloud or Jira Server?

I found an existing feature request for Cloud over in https://jira.atlassian.com/browse/JSWCLOUD-15988 While this has not gotten a large number of users yet wanting this, another user has commented that there are using a plugin called Abacus currently to transform a text field in Jira Cloud.

I'm not sure if this might be a solution for you as well.  If you were on Jira server, then you could probably do something similar with the Jira Misc Custom Fields plugin.  Both plugins appear to be able to create calculated custom fields based on other existing fields. 

Maybe this is helpful, and maybe it is not.  I could also see scenarios where these solutions might not yet meet your needs.  I did find there is an old feature request for the ability to create a time-only custom field from 2010 in https://jira.atlassian.com/browse/JRASERVER-19739

Unfortunately, this was closed as 'won't do'.  The recommending in that post was to reach out to an Atlassian Solution Partner for this kind of request.   Sorry this is probably not the answer you were hoping for, but so far I have not found another way to create a time only custom field.   I suspect this is possible to do via a custom plugin to Jira, but from what I have found no vendor has yet posted a plugin that does exactly this.  

Michael Reiff
Contributor
October 15, 2018

Hello Andrew,

in our special Scenario I solved it with Select List and Cascading List.

We did not need every single Minute, so the List will be acceptable.

Thanks

Michael

Like Rosa M Fossi likes this
Aoife Browne June 29, 2020

Hi Michael, 

 

We are looking at creating a similar field where the time of the issue created is shown. I have created a select list and Cascading List. After this step did you create an automation rule to add the time ?

 

Regards,

Aoife

Michael Reiff
Contributor
June 29, 2020

Hello Aoife,

we did not implement an automation rule to this cascading list.

Regards

Michael

Aoife Browne June 29, 2020

Was this field used to manually add in times?

 

We are looking to auto-populate the field with the time the issue is created

 

Regards,

Aoife

Michael Reiff
Contributor
June 29, 2020

Yes, the field is used manually.

Deleted user August 13, 2020

Hi Michael,

With the list you have created, are you able to advanced search based on time?

We are looking to build a scheduling function, and need to show an employee working every Monday 9-5, and not just one Monday 9-5.

We want to create a filter that will display all employees working within a specified window.

Best,

Levi

Suggest an answer

Log in or Sign up to answer