Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-29931

Using JIRA Issue Collector in Confluence causes 'Your session has expired' messages.

    • Icon: Bug Bug
    • Resolution: Timed out
    • Icon: Medium Medium
    • None
    • 5.1.3
    • None
    • JIRA 5.2.11
      Confluence 5.13
      Firefox 22.0
      IE 10

      Not sure if you would consider this a JIRA or Confluence bug... perhaps both.

      Basically if you create an Issue Collector in JIRA and then use it in Confluence you will get "Your session has expired. You may need to re-submit the form or reload the page." messages for some operations.

      I'm not sure what all the operations are that could trigger the error... but here is one way to reproduce:

      1. Ensure application link is setup between JIRA and Confluence
      2. Create an Issue Collector in JIRA (trigger style shouldn't matter... but I used Subtle)
      3. Copy the script for the Issue Collector
      4. Goto Confluence Administrator
      5. Navigate to LOOK AND FEEL -> Custom HTML
      6. Click Edit
      7. Paste the script for your JIRA Issue Collector into the field for "At end of the HEAD"
      8. Navigate to a Confluence page
      9. Under "Tools" click "Watch" or "Stop Watching"
      10. The error message should be displayed on the page

      I have also seen it when I create an issue collector with a custom trigger. If you create a macro that creates a button which opens the collector (following information here: https://confluence.atlassian.com/display/JIRA/Advanced+Use+of+the+JIRA+Issue+Collector), then any page that uses the macro will give the error when you try to do Edit -> Save.

      I have attached a user macro that does the above. So steps to reproduce:

      1. Ensure application link is setup between JIRA and Confluence
      2. Add the issue-collector-button user macro to Confluence.
        1. You will need to edit the user macro to change "jiraBaseUrl" variable to point to the base url of your JIRA
      3. Create an Issue Collector in JIRA (trigger style needs to be custom)
      4. Copy the Issue Collector's ID
      5. Navigate to a Confluence page
      6. Edit the page
      7. Add the issue-collector-button macro to the page (fill in the Collector ID parameter with the Issue Collector ID copied in previous step)
      8. Save the page
      9. Click the button and make sure the issue collector opens
      10. Edit the page
      11. Save the page
      12. The error message should be displayed on the page (the page is not saved)
      13. Click the save button a second time
      14. The page saves without error

              Unassigned Unassigned
              6a14d9de03b8 Shadowesque
              Affected customers:
              4 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: