Automate Assignment based on "Contain"

CHESTER RAMOS
Contributor
October 13, 2021

Hi All, 

Good day. Need some advice here, I am currently troubleshooting the follow automation rule (it seems simple) but I can't seem to have it worked.
I know the scope is actually within JIRA Service Management, but we are looking to use Jira project due to the sub-task within the categories. 

1. We will be deploying a JIRA Software (Business project) for HR Dept.
2. We have different categories within HR Dept.
    2.1 Request for Employee ID 
    2.3 Request for employee transfer..etc

...

Having said that, I am trying to automate the "Assignee" based on "Keywords"..
For example , 

The "Summary" will display the following in JIRA Business Software (Project)

"Employee ID Requested by Bond, James of Executive Dept. Job Title: CEO"
... 
As mentioned, what I am trying to do is automate assignment the following summary based on keywords use.

Assign task to "HR-LEI if "Employee ID" is found in the "Summary Section" of JIRA Software. 

Please refer to the automation rule I am trying to establish.

But I can't seem to have it worked... 

 

Thanks for your time

 

autoauto.png

question mark.JPG

question mark.JPG

 

1 answer

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.
October 13, 2021

Hi @CHESTER RAMOS 

Would you please explain what you are trying to do in that condition with the smart values, as the complete value is not shown in your image?

If you are looking for the phrase "Employee ID" in summary, why not just search for that text in the value of the condition?

And...as you have multiple conditions leading to assignments, please consider using the If/Else condition structure for each test/action.

Kind regards,
Bill

CHESTER RAMOS
Contributor
October 13, 2021

Hi, i was just performing trial and error.. I initially had summary contains "employee id" in summary, when issue is created, but it does not seem to work

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.
October 13, 2021

Hmmm...that worked for me:

Capture.PNG

As this is based upon issue created trigger, you may be running into a timing problem where the data is not yet available.  Please try to add a Re-fetch action immediately after the trigger to see if that helps.  It will slow down the rule and reload the issue before proceeding with the condition.

CHESTER RAMOS
Contributor
October 13, 2021

Thank for the reply. 
This is odd, so intead of using "contains" the following string.
What I did as a work around is 

"If issue is "Summary" , assign to "employee". Though, I had to assign the employees instead using "Contains.

Though I had to create a group (containing the assignees) and add them as "Assigneable Users" in permissioning. 

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.
October 14, 2021

I am unclear how you changed the testing part, but if you got it to work that is great.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events