gioboa / jira-plugin

Jira plugin for VsCode
https://marketplace.visualstudio.com/items?itemName=gioboa.jira-plugin
MIT License
266 stars 41 forks source link

feat: Field for time estimation in the creation menu #124

Closed jrpub closed 5 years ago

jrpub commented 5 years ago

It seems the option to add the time estimation for an issue does not exist.

In my Jira, this field is: "Original Estimate", described as "The original estimate of how much work is involved in resolving this issue."

It is frustrating to log time without being able to enter the estimated time :-)

I didn't find a workaround, except to set the estimate in Jira each time I create a new issue, which break the workflow offered by the plugin.

gioboa commented 5 years ago

Hi @jrpub , I think the field is not managed. I will work to implement the possibility to insert also this particular field. Thanks for your feedback and if you have any other suggestions please open an issue/feature request.

gioboa commented 5 years ago

@jrpub I created an alpha package with this implementation. If you can test the functionality and all It's ok, I will publish the new release.

--- file removed ---

Thanks in advance for your help. :+1: :1st_place_medal:

jrpub commented 5 years ago

I tested. It works a bit, but not fully: I can enter an Original Estimate and a Remaining Estimate, but the entered values are different on the Jira side:

This seems to be a conversion issue.

In addition, I noticed that "Fix version" does not work (no value in Jira), but it was also the case with the 0.18.2 so this bug is independent. Let me know if you want I open a new issue for this one.

Let me know if I can help!

gioboa commented 5 years ago

Yes open a new issue for fix version. In Jira web application if you enter 7h and 6h there are some conversions?

jrpub commented 5 years ago

Ok, I checked, and everything is fine. It was on the Jira side, it converts automatically based on the configuration, notably the number of hours in a workday (which is configurable). In the help of these fields, I saw that:

You can specify a time unit after a time value 'X', such as Xw, Xd, Xh or Xm, to represent weeks (w), days (d), hours (h) and minutes (m), respectively.
        If you do not specify a time unit, hour will be assumed.
        Your current conversion rates are 1w = 7d and 1d = 5h.

So, if I enter 7h, it will be transformed by Jira to 1d 2h

Many thanks for the quick patch!

gioboa commented 5 years ago

Great :+1: I will publish an official release next week with this feature. :smile: Thanks for your help :1st_place_medal: