Forums

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

Automation

Alex Zimmermann September 29, 2021

Hi there,

 

I'm trying to make a particular automation work and I'm pretty close, but I just can't get the last part down. We have HR create tickets when an employee is leaving the company and we would like an automation to look up the provided employee name and compare it to other tickets that mention that name. If there's a match, those tickets would be automatically linked to the employee leave ticket. This is what I have so far:

Screenshot 2021-09-29 at 10.31.37.png

1 answer

0 votes
Carlos Faddul
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.
September 29, 2021

@Alex Zimmermann , you can use smart values or if the field is user picker, you can get the (customfieldUserPicker.accountId/displayname) to comparate values

In this case i will prefer to use a user picker, because this turn more easier to the requester (and to the agent LOL)

Alex Zimmermann September 29, 2021

I'm afraid I'm still a bit lost here, this is my first automation. This is what I've managed now, I believe we've got the user picker enabled when people select the employee names (at least that's what I see), but I'm unsure how to set up the comparison. Also unsure of the JQL for looking up any issues that mention them, I don't use it that often. 

 

Screenshot 2021-09-29 at 16.18.48.png

Carlos Faddul
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 1, 2021

@Alex Zimmermann , you want to search all the texts that user is mention ou i understand wrong?

Alex Zimmermann October 3, 2021

Yes, I would like to search all the tickets to see if that user was mentioned :)

Carlos Faddul
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

@Alex Zimmermann , 

Sorry for my absence, I ended up having a lot of demand in the company these last few weeks

But in the Jira Automation there is some restrictions in lookup issues.

Automation Actions - Lookupissue.

Unfortunately, as it would be a custom field, the lookup would not be able to access it using smart values.

Suggest an answer

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

Atlassian Community Events