Is there a way to enable this? We wanted to fetch the user data from asset (Employee Directory) into our Automation. It seems that we can't query and object and add asset field
Hi @Bryan Tito ,
I might have found the reason this is greyed out.
On the condition page of automation conditions for automation under the AQL Header it states :
You can either search based on objects, or Assets fields on an issue. To select the Object tab, your rule must have the Object trigger.
Hope this clarifies the reason why.
It is actually kinda logical. We trigger on a field change, and then search for an object.
Regards,
Milo
I'm seeing the same issue. Here's my use-case:
Any insight would be much appreciated!
I realized my error in logic.. 🙈
For reference, I had to use an object lookup and reference {{lookupObjects.size}} in my conditional statement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Bryan Tito ,
The Automation is not looking for a Asset but for an Asset field meaning it will take the issue that it was triggered on and then use the data from the specific Asset field.
What are you using as the trigger for your Automation?
If you wish to simply query the object Schema, you can do that using a Scheduled trigger OR you can use the Lookup Objects action which will allow you to run any AQL and use the results of that AQL further down the automation in a smartvalue.
Otherwise you'll have to specific a field that is on the issue on which it will fetch the data
https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Lookup-objects
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-insight/#Lookup-objects
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Dirk Ronsmans thank you for checking on this.
What are you using as the trigger for your Automation?
- We used the Field value changed of a customfield that we have created. When this field is updated by an agent it will add or remove him/her from a group.
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.
Can you elaborate a bit on the automation use case itself?
So,
is this pretty much what you are trying to do?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Surething,
Thanks you,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bryan Tito
Why won't it let you query them? Will it not let you enter anything into the Assets Field / Query boxes?
For Assets Field, this is a search box, not a drop-down menu. It will show results as you begin typing into it.
For help with AQL, see this help page.
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ste Wright thank you for checking on this.
On the Query tab, it won't let me type on the text box, while on the Assets nothing comes up on it even though we have already have created some Assets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bryan Tito
And you are creating the Objects rule at a Global level, as the purple note suggests in your screenshot?
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Helo @Ste Wright we have tried it via Global Automation but it seems it is the same.
Please see screenshot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bryan Tito
I just ran across the same problem. In the meantime, are there any other findings on this issue?
Thank you
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.