Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-72050

Adding a comment, assign or watch an issue from a mobile browser fails in Jira

    XMLWordPrintable

Details

    Description

      Issue Summary

      Adding comment from a mobile browser fails in Jira 8.14, it's also failing to assign or watch an issue to any user. 

      Steps to Reproduce

      1. Deploy Jira 8.14 and create a project with sample data
      2. Either log in to Jira from a browser on a mobile device (Android or iOS), or via Chrome > F12 > Toggle device toolbar > Mid-tier mobile, access a ticket, and try to post a comment
      3. The same process describes above but try to assign any issue to any user or watch any issue

      Expected Results

      Comment should be posted and the assign / watch process should work.

      Actual Results

      The below exception is thrown in the console log:

      batch.js?locale=en-AU:5308 Uncaught TypeError: this.$el.find(...).spin is not a function
          at child._showSpinner (batch.js?locale=en-AU:5308)
          at child.addComment (batch.js?locale=en-AU:5256)
          at HTMLDivElement.<anonymous> (batch.js?locale=en-AU:13437)
          at HTMLDivElement.handler.proxy (batch.js?locale=en-AU:13333)
          at FastClick.JMOB../lib/fastclick/fastclick.js.FastClick.maybeSendClick (batch.js?locale=en-AU:10458)
          at FastClick.JMOB../lib/fastclick/fastclick.js.FastClick.onTouchEnd (batch.js?locale=en-AU:10614)
          at HTMLBodyElement.FastClick.onTouchEnd (batch.js?locale=en-AU:10341)
      
      batch.js?locale=en-US:52 JQMIGRATE: Migrate is installed, version 1.4.1
      batch.js?locale=en-US:1428 ***** Analytics log [mobile.page.view][{"page":"issue/JSP-14"}]
      batch.js?locale=en-US:12566 [Intervention] Images loaded lazily and replaced with placeholders. Load events are deferred. See https://crbug.com/954323
      batch.js?locale=en-US:13741 POST http://192.168.50.3:48132/j8132/plugins/servlet/undefined/rest/analytics/1.0/publish/bulk 404
      JMOB../lib/zepto/zepto.js.$.ajax @ batch.js?locale=en-US:13741
      (anonymous) @ batch.js?locale=en-US:10937
      (anonymous) @ batch.js?locale=en-US:10791
      n @ atlassian-analytics.js:2
      setTimeout (async)
      (anonymous) @ atlassian-analytics.js:5
      (anonymous) @ batch.js?locale=en-US:12792
      Consider disabling Chrome Data Saver while debugging. For more info see: https://support.google.com/chrome/?p=datasaver
      batch.js?locale=en-US:1428 ***** Analytics log [mobile.element.click][{"selector":"span.action-menu-button"}]
      batch.js?locale=en-US:1428 ***** Analytics log [mobile.element.click][{"selector":"button.user-assign-button.aui-button.jmob-action"}]
      batch.js?locale=en-US:13741 POST http://192.168.50.3:48132/j8132/plugins/servlet/undefined/rest/analytics/1.0/publish/bulk 404
      JMOB../lib/zepto/zepto.js.$.ajax @ batch.js?locale=en-US:13741
      (anonymous) @ batch.js?locale=en-US:10937
      (anonymous) @ batch.js?locale=en-US:10791
      n @ atlassian-analytics.js:2
      setTimeout (async)
      (anonymous) @ atlassian-analytics.js:3
      execute @ batch.js?locale=en-US:10801
      (anonymous) @ batch.js?locale=en-US:10839
      (anonymous) @ batch.js?locale=en-US:10952
      (anonymous) @ batch.js?locale=en-US:11613
      setTimeout (async)
      JMOB../lib/underscore/underscore.js._.delay @ batch.js?locale=en-US:11612
      JMOB../lib/underscore/underscore.js._.defer @ batch.js?locale=en-US:11620
      fn @ batch.js?locale=en-US:10951
      execute @ batch.js?locale=en-US:10801
      (anonymous) @ batch.js?locale=en-US:10881
      (anonymous) @ batch.js?locale=en-US:10926
      (anonymous) @ batch.js?locale=en-US:10791
      ajaxError @ batch.js?locale=en-US:13555
      xhr.onreadystatechange @ batch.js?locale=en-US:13719
      XMLHttpRequest.send (async)
      JMOB../lib/zepto/zepto.js.$.ajax @ batch.js?locale=en-US:13741
      (anonymous) @ batch.js?locale=en-US:10937
      (anonymous) @ batch.js?locale=en-US:10791
      n @ atlassian-analytics.js:2
      setTimeout (async)
      (anonymous) @ atlassian-analytics.js:5
      (anonymous) @ batch.js?locale=en-US:12792
      batch.js?locale=en-US:1428 ***** Analytics log [mobile.element.click][{"selector":"a"}]
      batch.js?locale=en-US:1428 ***** Analytics log [mobile.element.click][{"selector":"button.aui-button.main-action"}]
      batch.js?locale=en-US:7812 Uncaught TypeError: $indicator.find(...).spin is not a function
          at child.showLoading (batch.js?locale=en-US:7812)
          at child.showHeaderLoading (batch.js?locale=en-US:7361)
          at child._actionEventPrep (batch.js?locale=en-US:6358)
          at child.assignToUser (batch.js?locale=en-US:6313)
          at child.returnUser (batch.js?locale=en-US:15722)
          at HTMLDivElement.<anonymous> (batch.js?locale=en-US:13422)
          at HTMLDivElement.handler.proxy (batch.js?locale=en-US:13318)
          at FastClick.JMOB../lib/fastclick/fastclick.js.FastClick.maybeSendClick (batch.js?locale=en-US:10443)
          at FastClick.JMOB../lib/fastclick/fastclick.js.FastClick.onTouchEnd (batch.js?locale=en-US:10599)
          at HTMLBodyElement.FastClick.onTouchEnd (batch.js?locale=en-US:10326)
      showLoading @ batch.js?locale=en-US:7812
      showHeaderLoading @ batch.js?locale=en-US:7361
      _actionEventPrep @ batch.js?locale=en-US:6358
      assignToUser @ batch.js?locale=en-US:6313
      returnUser @ batch.js?locale=en-US:15722
      (anonymous) @ batch.js?locale=en-US:13422
      handler.proxy @ batch.js?locale=en-US:13318
      JMOB../lib/fastclick/fastclick.js.FastClick.maybeSendClick @ batch.js?locale=en-US:10443
      JMOB../lib/fastclick/fastclick.js.FastClick.onTouchEnd @ batch.js?locale=en-US:10599
      FastClick.onTouchEnd @ batch.js?locale=en-US:10326
      batch.js?locale=en-US:13741 POST http://192.168.50.3:48132/j8132/plugins/servlet/undefined/rest/analytics/1.0/publish/bulk 404
      JMOB../lib/zepto/zepto.js.$.ajax @ batch.js?locale=en-US:13741
      (anonymous) @ batch.js?locale=en-US:10937
      (anonymous) @ batch.js?locale=en-US:10791
      n @ atlassian-analytics.js:2
      setTimeout (async)
      (anonymous) @ atlassian-analytics.js:3
      execute @ batch.js?locale=en-US:10801
      (anonymous) @ batch.js?locale=en-US:10839
      (anonymous) @ batch.js?locale=en-US:10952
      (anonymous) @ batch.js?locale=en-US:11613
      setTimeout (async)
      JMOB../lib/underscore/underscore.js._.delay @ batch.js?locale=en-US:11612
      JMOB../lib/underscore/underscore.js._.defer @ batch.js?locale=en-US:11620
      fn @ batch.js?locale=en-US:10951
      execute @ batch.js?locale=en-US:10801
      (anonymous) @ batch.js?locale=en-US:10881
      (anonymous) @ batch.js?locale=en-US:10926
      (anonymous) @ batch.js?locale=en-US:10791
      ajaxError @ batch.js?locale=en-US:13555
      xhr.onreadystatechange @ batch.js?locale=en-US:13719
      XMLHttpRequest.send (async)
      JMOB../lib/zepto/zepto.js.$.ajax @ batch.js?locale=en-US:13741
      (anonymous) @ batch.js?locale=en-US:10937
      (anonymous) @ batch.js?locale=en-US:10791
      n @ atlassian-analytics.js:2
      setTimeout (async)
      (anonymous) @ atlassian-analytics.js:3
      execute @ batch.js?locale=en-US:10801
      (anonymous) @ batch.js?locale=en-US:10839
      (anonymous) @ batch.js?locale=en-US:10952
      (anonymous) @ batch.js?locale=en-US:11613
      setTimeout (async)
      JMOB../lib/underscore/underscore.js._.delay @ batch.js?locale=en-US:11612
      JMOB../lib/underscore/underscore.js._.defer @ batch.js?locale=en-US:11620
      fn @ batch.js?locale=en-US:10951
      execute @ batch.js?locale=en-US:10801
      (anonymous) @ batch.js?locale=en-US:10881
      (anonymous) @ batch.js?locale=en-US:10926
      (anonymous) @ batch.js?locale=en-US:10791
      ajaxError @ batch.js?locale=en-US:13555
      xhr.onreadystatechange @ batch.js?locale=en-US:13719
      XMLHttpRequest.send (async)
      JMOB../lib/zepto/zepto.js.$.ajax @ batch.js?locale=en-US:13741
      (anonymous) @ batch.js?locale=en-US:10937
      (anonymous) @ batch.js?locale=en-US:10791
      n @ atlassian-analytics.js:2
      setTimeout (async)
      (anonymous) @ atlassian-analytics.js:5
      (anonymous) @ batch.js?locale=en-US:12792
      
      

      Workaround

      Option 1: The preferred way of accessing Jira is via the mobile app that is available via both Google Play or Apple App Store

      Option 2: Switch to desktop view in the mobile browser

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              soslopov Sergey
              Votes:
              30 Vote for this issue
              Watchers:
              45 Start watching this issue

              Dates

                Created:
                Updated: