Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-72940

JIRA.Issue.getIssueId() doesn't work for Next-Gen based projects and NewIssue view with classic-Jira project

    XMLWordPrintable

Details

    Description

      Summary

      JIRA.Issue.getIssueId() doesn't work for Next-Gen based projects and NewIssue view with classic project

      Steps to Reproduce

      1. Browse to any NextGen project issue or any ClassicProject Issue with New-view only
      2. Open Devtool >> Console
      3. write below javascript and press enter
        JIRA.Issue.getIssueId()  
      1. JIRA.Issue.getIssueId() - returns null

      Expected Results

      JIRA.Issue.getIssueId() should return 'IssueId' as in below screenshot

      JIRA.Issue.getIssueKey() should return 'IssueKey'


      Note: Above is working in ClassicProject with Old-Issue-View only.

      Actual Results

       Both JIRA.Issue.getIssueId() & JIRA.Issue.getIssueKey() - return null as in below screenshots

       

       

      Attachments

        1. image-2019-09-02-17-20-44-067.png
          58 kB
          MonaS
        2. image-2019-09-02-17-21-12-946.png
          29 kB
          MonaS
        3. image-2019-09-02-17-21-39-464.png
          26 kB
          MonaS
        4. image-2019-09-02-17-21-57-957.png
          10 kB
          MonaS

        Activity

          People

            fbordallo Fernando Bordallo
            msood@atlassian.com MonaS
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: