JIRA tasks are not appearing on the calendar
Asked by Greg Obleshchuk:

Hi ,

JIRA tasks are not appearing in the Team calendars for Confluence

In our JIRA tasks we have created a new fields called end time which is datetime (mandatory).

In Team calendars for Confluence I have created a calendar to show all the tasks (Event type = Jira Issue Dates . I have set the show option to date range using the start date (existing field) and end date (new Field) .

The JIRa's for my filter are not showing .

If I change the option to Show single date using Issue Due Date the item appears.

Can anyone please help.

![Capture.PNG](/t5/image/serverpage/image-id/71480i2A938C75D46DEB65/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Shannon S
body: Hi Greg,

Thank you for bringing this up to us. It appears there's a bug where the dates won't show unless you also check Issue Created Date under Single date.

* [CONFSERVER-52468](https://jira.atlassian.com/browse/CONFSERVER-52468) *JIRA Issue Date disappears from Team Calendar unless Issue Created Date is chosen*

Could you give that a try and let me know if that works for you?

Regards,

Shannon

comments: author: Greg Obleshchuk
body: Hi ,

Thanks for the link. There seems to be more than one bug :D. I changed the calendar as follows using STart date and Issue Due Date.![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/72501iF3CF4AB864231F08/image-size/large?v=v2&px=999 "Capture.PNG")

This kinda works but I had to made the due date the next day. This is not ideal

I wanted to have a jira task with a start start on Mon and a due date on Tuesday and have it appear on the calendar over monday and tuesday.

The calendar still doesn't look like it picked up the custom field of End Date which I added.


author: Shannon S
body: Hi Greg,

Thank you for your reply! To confirm, I'm not seeing that you were able to apply the workaround in that image. The workaround is to *also* check **Issue Created Date** under **Single Date**.

![Capture.png](https://community.atlassian.com/t5/image/serverpage/image-id/72589iB02EBBFE04BE4D91/image-dimensions/345x366?v=v2 "Capture.png")

Can you please try that and confirm?

Regards,

Shannon


author: Greg Obleshchuk
body: Hi ,

Yes, that worked around worked but so did just using the start date and Issue Due date.

What didn't work was using my custome end date field (even after rebuilding the indexes)

So from an appearance side tasks are now appearing. But the taks duration on the calendar is not right (I think) . If I have a due date of the 20/11/2019 I would think it shoudl be the end of the day on the 20/11/2019 but the calendar seem to be using 12:00am .

So the fix for this I think is that the start date shoudl always asume 12:00am and the the end date should alway asume 11:50pm .

cheers

Greg


author: Shannon S
body: Hi Greg,

I think I understand now. To clarify, the **Issue Start Date** is the one from Jira, but your **Issue End Date** is a custom date field.

Then, for example, the date range should be 19 Nov (Issue Start Date) through 20 November (custom Issue Due Date). Because Confluence reads the 20 Nov date as a due date, it's set to 12:00 am midnight instead of leaving the due date for the end of the day. Is that right?

Can you tell me what version of everything you're running? (i.e. Confluence, Team Calendar, Jira)

It seems very similar to the following bugs, but I think they're both related:

* [CONFSERVER-48619](https://jira.atlassian.com/browse/CONFSERVER-48619) *When calculating ranges from JIRA Dates, the range is incorrect if no time is specified*
* [CONFSERVER-48914](https://jira.atlassian.com/browse/CONFSERVER-48914) *The time shown is incorrect*

Regards,

Shannon


author: Greg Obleshchuk
body: Yes, Thats is right.

Confluence version: 6.15.6

Team Calendar: 6.0.45

Jira Software 8.2.2

Jira Core 8.2.2


author: Shannon S
body: Greg,

Thank you for your confirmation.

I think you are then most likely affected by this bug:

* [CONFSERVER-48619](https://jira.atlassian.com/browse/CONFSERVER-48619?_ga=2.194287337.57736437.1574097084-1642555208.1571221417) *When calculating ranges from JIRA Dates, the range is incorrect if no time is specified*

It's not allowing for a custom date field to be used as the end date. According to this bug, if you were to choose a time on the event using the date picker in Team Calendar, it should show properly as a workaround.

Could you please give that a try?

Regards,

Shannon


Tags: confluence

confluence-server

jira

jira-server

jira-software