I have worked this every which way to Sunday and just can't not figure it.
I have a form that 3 Status: New User, Modify User, Terminate and it collects a bunch of data (contact, email, email distribution list, location, ext.)
New User - No automation needs to happen
Modify User - Take the user's email and make a REST API out to Snipe-IT using the email, get a response back for the userid, then issue another REST API call back out to Snipe-IT to get all the assets user has been assigned, then get that response back and post the response in a field on the form.
Seems simple enough, but I can not even get the automation to trigger. I tried a simple trigger such as edit form and then add a note to the audit log. Nother.
In a command prompt outside of Jira I can run a REST API and it gets authenticated and I do get a response, so I know that part works
Has anyone done this before? What am I missing?
Terry