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

Paste feature does not work if JIRA instance URL configured in Administration contains a slash at the end

    XMLWordPrintable

Details

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

    Description

      Steps to reproduce

      1. Install JIRA CKEditor Integration
      2. Go to Administer Wiki > Editing > WYSIWYG Editor and paste the following in the Advanced Configuration section: config.extraPlugins = 'xwiki-jira-paste';
      3. Go to Administer Wiki > Other > JIRA and add a JIRA instance. For ex:
      1. Click 'Save'
      2. Go to a page 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 instance URL is configured without the slash at the end (e.g. https://jira.xwiki.org)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: