Forums

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

Automatically assign tickets to a user meeting some conditions, without using automation

June February 23, 2023

Hi there,

 

We are using automation to automatically assign tickets to a specific user meeting a certain condition. However, with other automations, we're reaching the rule execution limit.

 

We're wondering if there's a way we could do this particular case without using automation. I know that I could automatically assign a ticket to a user using post function in the transition of the workflow, but I don't know how I could implement the condition part.

The condition is that once created, if the ticket has a certain request type (3 specific types), It should be assigned to a specific user; otherwise, it shouldn't be matter.

Can i do this in the transition?

I saw in my research this post about the function Conditions but I don't know why I don't see it in the transition to "To Do". It is available in the other transitions though.

Screenshot 2023-02-24 at 6.10.44 pm.png

2 answers

1 vote
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.
February 24, 2023

Conditions are for stopping people using a transition, they are not what you want to be doing here.

You should probably do this with post-functions on the "create" transition.  The easiest way to do this would be to have three workflows, one for each issue type, and a different person placed in the set-assignee post-functions.

If you have scriptrunner, you could do it with a simple "if issue.getIssueType() = X" line of code instead of having three post-functions.

0 votes
Bill Sheboy
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.
February 24, 2023

Hi @June 

Would you please clarify which rule execution limits are you reaching/exceeding?

I hypothesize that you have rules making issue assignments happening with global / multi-project scope rules, and so are running into the monthly execution limit.

If that is the case, you could quickly address this by copying the rules to run solely in each project.  Even with the free license level, the project-scope rules should not have that constraint...unless you are running rules very often, and exceeding the maximum rule execution time per hour.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events