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.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot