Forums

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

How to get the time component on a Jira Date Time field?

Vineet Kumar
Contributor
October 7, 2020

I am trying to create a Jira plugin for server it should be a custom field of Date Time type. I was able to pull the Date pop but i am not sure how to add the time part to the UI. Any suggestions?

Can somebody share the UI script which can capture the time part on a Date Time field?

1 answer

0 votes
Dave Liao
Community Champion
October 7, 2020

@Vineet Kumar - hi Vineet! Can you give more detail on what you're trying to do?

Is there documentation you're working from, or an example of this happening anywhere else?

Appreciate any insight.

Vineet Kumar
Contributor
October 8, 2020

Thanks for your response Dave!

 

For Jira Date Time fields, Jira converts the time on the basis of the location of logged in user.

 

We have a requirment where i have to create a Date Time field which should not convert the time. e.g. if a user from India enters the date and time then a user is US should see the time as it is. I know it sounds lame.

so i planning to create aplugin of Date Time custom field type from scratch and i am not able to pull up the time part of the view.

Like Dave Liao likes this

Suggest an answer

Log in or Sign up to answer