janotav / ali-idea-plugin

HP ALI support for Intellij IDEA
Apache License 2.0
8 stars 10 forks source link

Status values aren't loaded from ALM #28

Closed AlexHetu closed 9 years ago

AlexHetu commented 10 years ago

The possible values listed for "Status" when modifying a defect or filtering defects aren't populated with the values in ALM.

janotav commented 10 years ago

Hi, can you please provide more details?

1/ what ALM version are you connecting to? 2/ is this somehow related to your site customization/workflow?

AlexHetu commented 10 years ago

Hi,

We are using ALM 11.52 and I believe have setup a number of customized statuses. (I am not a manager of the platform)

The status values are all in French, see:

image

The current value is displayed properly in the ALM plugin, but whenever I try to list the possible values for that field, only the default English values show up :

image

janotav commented 10 years ago

Based on what you sent I'm 99% sure that there is a customization script in place. Unfortunately it's not possible to fully support (VisualBasic-based) script customizations in the Intellij plugin. What could be supported is some kind of minimalistic solution where the plugin would override the metadata coming from the server and force the new statuses. In such case you would see the values you expect when editing the defect, however if there is an additional extra logic (such as controlling state transition) that would not be honoured. If you believe the minimalistic approach would be enough for you, please drop me a mail to vojtech dot janota at hp dot com.

AlexHetu commented 10 years ago

I think that would be the way to go, especially since the filter in the Defect view seem to be using the same value dropdown. (Right now it's impossible for me to filter by defect status)

I think it would be preferable to get a possible error back from the server if I'm selecting a value that will get rejected by ALM then to not see the possible values at all.

janotav commented 10 years ago

In order to verify that the minimalistic approach I have in my mind is going to work for you before I invest the time into developing it, I need to verify that the customization works as I expect. For this I need to check the contents of the following endpoints:

http://{ALM-HOST}:8080/qcbin/rest/domains/{DOMAIN}/projects/{PROJECT}/customization/entities/defect/lists?login-form-required=Y http://{ALM-HOST}:8080/qcbin/rest/domains/{DOMAIN}/projects/{PROJECT}/customization/used-lists?login-form-required=Y

This should allow me to verify that there is a project list defined with the values you listed before. If that is the case, I can enforce this list to be used instead of the one defined in the meta-data. If you prefer not to post the customization data of your ALM instance on this public thread, you can send them to me over the email address I have written in my previous comment.

janotav commented 9 years ago

Not enough information, closing...