Automation example:
When form is submitted in a subtask then update a field in the parent ticket with the name of employee selected in the form.
NOTE: When filling out the form the employee field in question is a dropdown that uses Jira assets to populate values, thus making it an "Asset Objects" field type.
Hello @David Hart
In what type of project is the form being submitted; Jira Service Management, Jira Software, or Jira Business/Work Management?
This form is being submitted through a Service Project so I believe that it would be a JSM type form.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
(Disclaimer: I don't have an environment where I can actually test this.)
Take a look at this article:
Forms Automation: Access form fields with smart values (smartvalues)
...which references this documentation:
Access smart values for forms and form fields
Assets would appear to be classified as a "choice" type of field for the form.
Using a Log action in your Automation you should be able to print into the rule execution Audit Log the content of the form field by using the field's smart value. That should tell you if you can access the full data of the associated asset, or if the field contains only a reference for the asset.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah ha! It looks like it is indeed getting the correct asset object and in the log it will yield the correct result. However it will not edit my issue with that result. That is okay though because I can use this in another way to get to my solution. Thank you!
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.