Uploaded image for project: 'JIRA Components'
  1. JIRA Components
  2. JIRA-113

Paste feature does not work if JIRA links are pasted by regular (non-admin) users

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 11.1.4
    • CKEditor Integration
    • Windows 11 Pro, Chrome 147, using an instance of XWiki 17.10.7 and 18.3.0 Snapshot on Jetty/HSQL
    • Unknown

    Description

      Steps to reproduce

      1. Login as Admin
      2. Install JIRA CKEditor Integration 
      3. Go to Administer Wiki > Editing > WYSIWYG Editor and paste the following in the Advanced Configuration section: config.extraPlugins = 'xwiki-jira-paste';
      4. Go to Administer Wiki > Other > JIRA and add a JIRA instance. For ex:
      1. Click 'Save'
      2. Login with a regular user
      3. Edit a page with CKEditor and insert a JIRA link, e.g. https://jira.xwiki.org/issues/?jql=issuekey%20in%20(XWIKI-21300%2C%20XWIKI-21310) or https://jira.xwiki.org/browse/XWIKI-23911

      Expected results

      The pasted JIRA link resulted in inserting automatically the JIRA macro containing the respective tickets.

      Actual results

      The JIRA link is pasted as a regular link.

      The issue does not reproduce if the JIRA links are pasted by an Admin.

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: