We have an external monitoring system that create tickets and we need a function to update tickets based on some fields.
It will be a hundreds of business rules like:
1. If field "server" start with "testsrv*" and summary contains "test", change priority to Low.
2. If fiels "server" contains "product" and summary contains "security", change priority to High, change assignee to some special person.
3. If "some filed" contains something, then change "some field" to some value, etc.
How we can do this? Which plugins could use?
For complex rules like this, you really want one of the scripting add-ons.
I'd use Script Runner, as that's the one I'm familiar with and I know it can do it because I've just written a scrut that does something like point 2 last week (and yes, I work for Adaptavist, who own it, but I'd have said the same thing if I didn't). There are others, but you should look carefully at all of them to see if they offer all the things you need to achieve this.
Another option though - if your external system is poking the data into JIRA, maybe it could be coded to make the decisions on the fields and then just use REST to create the issues. Might be easier than coding in JIRA.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!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.