Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×I'm looking to automate our process that grabs fields from request forms and stores them in Assets. I'm using data center, so API calls (without using Groovy scripts) are not available (at least to my knowledge). Since I'm trying to future-proof the process without requiring plugin procurements (scriptRunner), what is a possible route to achieve the end goal here?
Is there an Assets API that I'm ignorant to? Are there Jira-native processes that I can use? Right now, I'm running a groovy script that creates a json file that is then imported into assets on a schedule. I'd like to have a JSM-native trigger that either triggers AAP to run the job of creating the output file that is imported into JSM directly, a JSM-native process that pushes the field-designated objects to the corresponding field in asset, and API that allows me to post objects to assets, or any permutation of the above. The goal is to ensure that neither paid tools nor access to the filesystem are required. Thoughts?
Hi @Faith Ntundi ,
You can found the Asset javadoc here: https://docs.atlassian.com/assets/10.10.0/
And the Asset rest api: https://developer.atlassian.com/server/jira-servicedesk/rest/v1100/api-group-assets---object/#api-assets-1-0-object-create-post
In Data Center, native future to create asset are available only as Post functions in the workflow.
If you need something more custom, it is required to execute a script, like the examples here: https://confluence.atlassian.com/servicemanagementserver105/groovy-script-examples-1540733391.html
I hope it helps.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.