MicrosoftPremier / VstsExtensions

Documentation and issue tracking for Microsoft Premier Services Visual Studio Team Services Extensions
MIT License
59 stars 14 forks source link

not work if pipeline doesnt have error #169

Closed kostukp96 closed 2 years ago

kostukp96 commented 2 years ago

Why its work only if pipeline have error ? I need create item without any error, but this task work only if pipeline have any error

ReneSchumacher commented 2 years ago

Hi @kostukp96,

could you explain in a bit more detail which task you are using, how you have configured it and what is not working to your expectations?

kostukp96 commented 2 years ago

I use "Create work Item" this task only works for me if the previous task failed, if all my tasks completed without errors, the item is not created and I get this error Evaluating: failed() Result: False Capture2 Capture1

kostukp96 commented 2 years ago

This is my conf. Capture3

ReneSchumacher commented 2 years ago

Hi @kostukp96,

if you see the message "Evaluating: failed()" it means that in the Control Options section you have set a condition to run the task only if a previous task has failed:

image

You need to update that condition, so the task runs whenever you want it to run. If you need help, please let me know.

kostukp96 commented 2 years ago

Thank you, for your help! Its work for me.

ReneSchumacher commented 2 years ago

Great, glad I could help. I'm closing the issue then. If you have any other question, please feel free to open a new one.