[TIME-210] confluence gadget shows wrong links to tickets reported

Issue #210 resolved
Andriy Zhdanov created an issue

confluence gadget shows time reported but link to issues are composed from conflunece link, not jira
example confluence gadget code

{gadget:url=https://jira.domain.com/rest/gadgets/1.0/g/jira-timesheet-plugin:timesheet-gadget/gadget.xml}gadget=gadgetname&user=username{gadget}

example confluence address
https://wiki.domain.com

resulting link from gadget to reported issue
https://wiki.domain.com/browse/TEST-56

correct must be
https://jira.domain.com/browse/TEST-56

please advise

By janis.perkons/Janis Perkons on Fri, 6 Jan 2012 02:01:17 -0800

Comments (6)

  1. Andriy Zhdanov reporter

    Committed revision 166332: use baseurl (= _ATLASSIAN_BASE_URL_ for gadgets)

    Please try plugin version 2.2.6

    By azhdanov on Tue, 24 Jan 2012 07:18:12 -0800

  2. Andriy Zhdanov reporter

    Thank You about fix, unfortunately we this version is not supported by our JIRA 4.2.4
    Latest Timesheet we manage to install is

    Description: Plugin with two reports and gadget for time tracking.
    Vendor: Andriy Zhdanov
    Plugin Version: 2.0
    JIRA Versions: 4.0 - 4.2

    could You please apply fix for 2.0 ?

    By janis.perkons on Tue, 24 Jan 2012 07:28:21 -0800

  3. Andriy Zhdanov reporter

    Sorry did not notice you're using plugin 2.0
    Committed revision 166333
    Please try updated jira-timesheet-plugin-2.0.jar

    By azhdanov on Tue, 24 Jan 2012 07:48:03 -0800

  4. Andriy Zhdanov reporter

    `Thank You very much! working fine.

    By janis.perkons on Tue, 31 Jan 2012 14:28:25 -0800

  5. Andriy Zhdanov reporter

    Ported to trunk and 2.3.6
    Committed revision 169728, 169730, 169731: use baseurl for gadgets

    By azhdanov on Thu, 11 Oct 2012 14:56:53 -0700

  6. Log in to comment