Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Setting custom field "Target end" via REST API: Timezone problem?

Hello, we are using

Jira Server 7.13.9

Portfolio for Jira 3.14.0

Default User Timezome in Jira: (GMT+01:00) Berlin

 

I have a problem setting the custom field "Target end" via Jira REST API, that the date set ist always shown one day behind:

1) When I create an issue using REST POST /rest/api/2/issue, I set e.g.

        "customfield_10901": "2019-11-28T14:00:00.000+0000",

 where customfield_10901 ist the "Target End" field

2) After creating, the UI shows me "27/Nov/19" and the REST GET /rest/api/2/issue/{key} is returning

"customfield_10901": "2019-11-27",

 

For me it looks like a issue with converting the timestamp, especially:

- time information is ignored and set to "00:00:00" (?)

- 00:00:00 GMT+1 is converted to 23:00:00 UTC the day before (?)

- the day before is stored and shown in Jira (?)

 

I also try to set

        "customfield_10901": "2019-11-28",

but the same result it is shown in UI and REST as 27.

 

Can anybody confirm this, if this is a bug in the Portfolio Plugin?

 

Thanks in advance, 

   Rainer

 

1 answer

1 accepted

0 votes
Answer accepted

I got the confirmation, that this is a known issue in Jira and Portfolio:

https://jira.atlassian.com/browse/JPOSERVER-2358

https://jira.atlassian.com/browse/JRASERVER-41646

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Advanced Roadmaps

3 short videos to help you get started with Advanced Roadmaps

Hi community, I’m Roi, a product manager working on Advanced Roadmaps for Jira. While Advanced Roadmaps is a powerful tool to plan and track work at scale, we know it can be challenging to get star...

6,458 views 24 18
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