In my automation, I am adding labels with AI. When a document is published or updated, the AI applies various labels based on the content of the body.
Every so often however, I get an error in the audit log with the message:
Add label with AI: Failed to retrieve smart labels from AI
How do I triage this? No other information is available and when examining the documents in question, they appear to contain the verbage that would generate automatic labels.
Welcome to the community.
Whenever you ask for help with an Automation Rule it will help us to help you if you provide:
1. what type of project is this (e.g., company-managed, team-managed, etc.),
2. images that show your complete rule.
3. images showing the details of any relevant actions/conditions/branches.
4. images showing the Audit Log details for the rule execution.
5. Explain where the issue is.
These questions are not for not willing to help, but to have community members understand on how automation works.
This is purely speculative but it is where I would start >>>
If the AI fields are being added to your ticket at the same time your automation is running, you may be encountering a problem where the Issue hasn't been saved with the fields yet. Therefore Automation may not be able to see them. It's similar to the concept of a commit in a database. You can't read the data in a record that hasn't been saved yet.
As I said -- super speculative but I know prior to automation in JIRA, some workflow tricks with scripting would have a similar issue. you can't run scripts until the data is there
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This makes sense, though in this particular case it isn't JIRA, it's just Confluence pages. That said, I suppose the same thing could be applicable. It's just that the triggers for the automation are when a document is published, which seems like a pretty definitive trigger.
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.