| Summary: | show timespent value in jira task editor attributes section | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Eugene Kuleshov <ekuleshov> | ||||||||
| Component: | Mylyn | Assignee: | Eugene Kuleshov <ekuleshov> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | ||||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 3.0 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Eugene Kuleshov
Created attachment 91973 [details]
fix
added support for timespent attribute to jira task data handler and show read-only formatted value in the editor
Created attachment 91974 [details]
mylyn/context/zip
Great patch! Thanks Eugene. I have extended the time formatter to also support weeks and days so the formatted values are consistent with the web interface. It is now also used to parse and format the values for estimates making it much more convenient to enter these values (bug 214039). Marking as resolved. Created attachment 94479 [details]
mylyn/context/zip
(In reply to comment #3) > I have extended the time formatter to also support weeks and days so the > formatted values are consistent with the web interface. Steffen, please note that it is unsafe to format days and weeks because actual values depends on the server side settings, such as how many work hours is included in a day and how many days work week has. Without getting those settings from the server such formatting can result in a misleading results. Same problem is probably applies to the parsing. See http://www.atlassian.com/software/jira/docs/v3.9/configure_timetracking.html Corresponding configuration service: http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/com/atlassian/jira/rpc/soap/service/AdminServiceImpl.html#getConfiguration(com.opensymphony.user.User) http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/com/atlassian/jira/rpc/soap/beans/RemoteConfiguration.html That's a good point. The JIRA connector might display inconsistent values with the web interface. I'll add a note to the FAQ. (In reply to comment #8) > I'll add a note to the FAQ. Why did you say it is not available? See comment #7 for the corresponding API. I've added bug 225358 to track this issue. I have comment on bug 215109. |