Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Automation: Field values identical to same field value in another issue

Hello Atlassian! 

I´m trying to setup a process to handle all of our faulty Hardware with our Jira-Service-Desk. This require our customer to answer questions such as: 

- Serial Number of the product

- Error description

- Any troubleshooting done?

What I would like to do is to setup up an automation that monitors if an issue is created, it will check if that specific serial number already has been reported as faulty. 

Would be enough to send an email saying that this piece of HW has already been faulty. 

All the best, 
Johannes Nyberg

2 answers

1 accepted

2 votes
Answer accepted

Hi @Johannes Nyberg

yes, you can achieve something like this with Automation.

I thought of an automation like this:

  • When: Issue Created
  • Then: Lookup issues
    • You can specify a JQL then to look for the issues, you're interested in. If you're value is stored in the custom field 11127, you could use a JQL like this:
      cf[11127] ~ {{issue.customfield_11127}} and key != {{issue.key}}
  • And: Add comment to issue
    • In the comment, you can use {{lookupIssues}} in order to include your result.
      You could probably modify that with an if condition that the comment is only written if there actually are some issues.

For more details, I'd recommend to check out the docs about smart values or the lookupIssues function.

I hope that helps,

Awesome! Tested and it works. Thank you Matthias and have a good day. 

Like Matthias Gaiser _K15t_ likes this

As you mentioned it is possible to add an if-statement to make sure that the comment is only done when the list is not equal to empty. 


Like Matthias Gaiser _K15t_ likes this

We have Jira server working in our firm's cloud environment; does this solution still work?

0 votes

Hi @Johannes Nyberg ,

So let me get this straight:

  1. the user will enter the serial number when creating the ticket
  2. The ticket will be raised, even if the serial number already exists
  3. There will be an automatic email send out to the customer about "Getting the request"
  4. There will be a second email notifying the customer that this serial number already exists and has reported as faulty.

Are the above correct? If yes, then I would say that this can be done, but I strongly disagree about sending a second email to the user. I would either auto-comment his/her request and automatically move this issue to Done, or just auto-comment and wait from the customer's reply.

With that said, this can be done by Jira Automation and lookupissues of within the workflow. Do you have any apps installed on your instance?


Thanks for your quick reply Alex. 


1. Yes, it is mandatory for the ticket to be raised.

2. Yes, the ticket will always be raised independently of it has been faulty or not before.

3. The purpose is to notify us internally saying that this item has already been repaired. 

So the process will be same regardless of if the HW has been repaired earlier or not. The purpose is only to give us a heads-up with this information.


Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events