Datepicker does not hide when pressing Save for time on issue details

Description

Date picker (calendar) does not hide, after clicking Save for Timer, on issue details page

Attachments

1
  • 26 Feb 2021, 09:25 am

Activity

Show:

Tetiana Grebeniuk 24 February 2025 at 12:40

https://developer.atlassian.com/cloud/jira/software/jsapi/jira/

Here is a table of approaches and hypotheses that were tested to fix the bug, but none of them worked.:

Approach

Works in Jira Cloud?

Pros

Cons

Direct DOM Access (window.parent.document)

❌ No

Simple

Not allowed in Jira Cloud

AP.events.emit() (Recommended)

✅ Yes

Official Jira API, secure

Requires parent listener (Not available for our app since we use iframe for issue)

Simulating a Click (document.body.click())

✅ Yes

Suppose it may works if picker closes on outside click

Doesn’t work

Calling AP.jira + smth like .closeDatePicker() ??

✅ Maybe

Cleanest solution if API exists

Not present such API

Details

Priority

Fix versions

Reporter

Assignee

App

WTC

App Type

Cloud
DC

Time tracking

2h 20m logged
Created 12 October 2020 at 07:41
Updated 24 February 2025 at 12:41