When debugging an Automation that uses a complex expression, the single-line dialog boxes are difficult to work with.
The dialog box is too small (expressions can be multiline), doesn't provide syntax highlighting, and can't give immediate feedback to me the user if there is a simple mismatch of parenthesis or braces. Or if sections are not properly nested.
IntelliJ Community Edition has a Handlebars/Mustache - IntelliJ IDEs Plugin that can do this. So I find myself pasting between IntelliJ and Automation.
But even that does not work well as the plugin refuses to accept:
And this workaround doesn't see the JQL... such that it cannot ensure that the parenthesis are balanced. Not ideal.
Has someone got another suggestion to make debugging easier on the eyes? Ideally for DC... though I appreciate that is a long ask.
The code is at intellij-plugins/handlebars at master · JetBrains/intellij-plugins · GitHub if someone wants to take it upon themself to adapt it.
I added this suggestion to improve automation rule validation, and sadly it has moved to the dreaded "Future Consideration" status: https://jira.atlassian.com/browse/JSWCLOUD-22692
For complex smart values and JSON, I write them initially in tools like Notepad++ so I can use the syntax highlighting and bracket matching. Then I save snips of things I use often to reduce errors before pasting into rules for testing.
Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...