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

How to convert unix epoch timestamp to DateTime

I'm using a Web request to get data from another service.

The Json response look like this.

"result": [
  "lastclock": "1601240174",
  "lastvalue": "69.2"
   "lastclock": "1601240174",
   "lastvalue": "50.1"

lastclock is the timestamp in unix epoch time, and I like to convert this to Jira DateTime object. I tried "toDate" but did not work.

Using the Log Action, the following give no output.


Maybe I need to provide the time format to "toDate" function?  But I'm not sure what the format should be. 

What would be the best way to convert unix epoch seconds to Jira date time using the Automation for Jira plug-in?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

129 views 2 6
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