Trying to plan out an ITSM build whereby JSM agents would update an insight asset status from the JSM ticket. Presumably using an automation rule.
I have followed these instructions: How to update Insight Objects attribute using automation with values from associated Jira issue | Jira | Atlassian Documentation
But on running of the rule I get this error message:
Hi @Robert Wen_Cprime_ for context the create object rule was part of the debugging I was doing, i.e. create an object with 1 attribute, and then use the rule I wanted to test to change the newly created object's status.
After a call with an ex-colleague I found out that the "Edit object attributes" rule I was using was the incorrect rule for what I was trying to do.
The correct rule for anyone else attempting to achieve similar is called "Edit Insight field attributes" - which confusingly is not under the insight automation rules (rather, the Jira issues) tab, however is the rule name is correct in the documentation linked in my original question.
A classic case of not being careful enough when reading the documentation, rather than an issue with Jira / Insight.
Many thanks for all those who have provided assistance, I will consider the question solved.
I came across this while troubleshooting my own problems and thought to add some detail on how this has changed in the time since this was first raised. The support documentation in original post is out of date.
This is for Jira Cloud
Automation must be set in a global context in order to use AQL Branch.
My trigger is when a value is added to my selected Assets Custom field.
I then add an AQL Branch, where I set my Asset search criteria
Then I can edit the attributes of the selected object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Paul Mackie ! Welcome to the Atlassian Community!
So the error message is reading that issue search is not revealing issues. Can you put a screenshot of your Automation rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So this is a test rule, that creates an asset, DH-6, which is successfully created, however the final part of the rule "Edit Asset Status" has been saying that no issues are found (I presume it means assets) but there is nowhere in the rule configuration to specify which asset should be updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried a few different approaches however I can't seem to get that particular part of the rule to identify any objects that have been created in insight
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As some further background I am familiar with both Insight and JSM, however the new Automation rules for Insight for Cloud seem to be very un-intuitive, so I wonder if I'm taking completely the wrong approach. Any suggestions would be appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To me it looks like there should be another field that you need to configure (maybe asking for some IQL) that would actually select the asset to be updated. But at the moment I just get a message saying no issues can be found.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Out of curiosity, why do you have setting attribute values as a separate action? I believe you can set attributes while you Create the Object.
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.