Hi,
I need to validate a field value integrating the values in Rest API, for example, I create the Code project and when the user is creating a request. I would like to validating if this value is found in get to Rest API.
This get in Rest API, return a Code project record in other system.
It's possible?
Could you help me about this?
kind regards,
Yes, that is possible and you can use smart value compare to do it. The returned result can be accessed using {{webResponse}} and you can then use the dot notation in order to get the value. You can have a look at this article that I wrote about incoming webbhook and using smart values.
Hi @Mikael Sandberg ,
First, thanks for your help.
Now, do you know if I can stoping the create issue process when the Send Web Request return with to the invalid value to custom field?
Because, I would like to stop the create issue e send a alert to user.
kind regards,
Rogerio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What exactly are you trying to do? Are you saying you want to prevent someone from creating a work item in a project based on the returned value from a API call? If that is the case then the answer is no, that cannot be done since automations are executed after something happens, like create work item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mikael Sandberg ,
So, I am creating a portal JSM and I creating a custom field to called code project and name project. I need to validate the project values and if possible not permit to create the request or incident when the values are mistakes.
The code project and name project are storage in other systems. I can to get the values using Rest API.
But When the values are mistakes I can't to stopping the create request.
Do you understand me?
Thanks and kind regards,
Rogerio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.