If you are talking about the tasks provided by Artifactory for Bamboo | Atlassian Marketplace, you will only be able to use them in JAVA specs. YAML specs do not have the ability to configure those tasks.
As you mentioned (...or we need to use curl?), you will need to run your calls using a script task to make it work in a plan configured by YAML specs.
I hope that answers your question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.