Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-25558

IssueInputParameters API is not compatible with the timetracking changes made in JIRA 4.2

      In JIRA 4.2, we changed how timetracking works with regards to being able to edit Original and Remaining Estimates separately.

      JIRA's IssueService provides an API to assist in updating an issue's fields - IssueInputParameters. This API was not updated when the timetracking changes were made. Thus, with the current version of this interface, it is not easy to make those issue field updates (some overriding is required).

      It'd be helpful for plugin developers/consumers of this API if it was brought up-to-date. I've already done this within GreenHopper - we just need to push the changes back into JIRA.

            [JRASERVER-25558] IssueInputParameters API is not compatible with the timetracking changes made in JIRA 4.2

            Attaching GreenHopper's workaround to the issue.

            Michael Tokar added a comment - Attaching GreenHopper's workaround to the issue.

            I think this can be a branch fix - the API of IssueInputParameters should just require some additional methods. The behaviour of the existing setOriginalEstimate method might change, however, but we could get around that by having an overloaded method to behave in the "new" (now old) way.

            Michael Tokar added a comment - I think this can be a branch fix - the API of IssueInputParameters should just require some additional methods. The behaviour of the existing setOriginalEstimate method might change, however, but we could get around that by having an overloaded method to behave in the "new" (now old) way.

            Tokes, can this be fixed on branch or just on trunk? (compatibility issues?)

            Mark Lassau (Inactive) added a comment - Tokes, can this be fixed on branch or just on trunk? (compatibility issues?)

              rsmart metapoint
              mtokar Michael Tokar
              Affected customers:
              1 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: