Business rules for update tickets

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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

195 views 1 3
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you