Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Business rules for update tickets

Andrei Pisklenov
Contributor
June 28, 2016

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?

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 28, 2016

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.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

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!
AUG Leaders

Atlassian Community Events