This issue has been created
 
 
JIRA Components / cid:jira-generated-image-avatar-4e09a5a0-34dd-43d5-8065-e2491163719a JIRA-111 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ecce7780-144d-448d-8c87-d5591db3906c Ilie Andriuta created this issue on 20/Apr/26 16:20
 
Summary: Paste feature does not work if JIRA instance URL configured in Administration contains a slash at the end
Issue Type: cid:jira-generated-image-avatar-4e09a5a0-34dd-43d5-8065-e2491163719a Bug
Affects Versions: 11.1.4
Assignee: Unassigned
Attachments: JIRA_Link_not_transformed.png
Created: 20/Apr/26 16:20
Environment: Windows 11 Pro, Chrome 147, using an instance of XWiki 17.10.7 on Jetty/HSQL
Priority: cid:jira-generated-image-static-major-d1e45975-61a9-4675-862e-c40b92d4390e Major
Reporter: Ilie Andriuta
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)