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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I compare two tickets for same issue but created in different project

asingh I'm New Here Jul 02, 2021

Suppose we have an Incident and Incident management team and change management team created a ticket for the same issue in their project. How I can compare both the tickets in order to check if both tickets have similar information. (Information in some common field which both the project boards have)

3 answers

Hi @asingh ,

Since there is not out-of-the-box functionality to compare two tickets, I would do the following:

  • search for these two specific issues in advanced search
    • select to appear all columns I want to cross check or
    • export these two results with ALL fields on xlsx, and then perform my crosscheck there

Hope that helps! Let me know if you need anything more :)


@asingh If you have Jira Automation. You can create an automation to compare two tickets (you can compare multiple fields by using multiple loop) and you can edit a Custom field (your choice) and add comments if it passes the condition "All values are same" if true, "There is difference" if false.


While checking condition there should be some field which should be unique to fetch and compare two issues from two different projects. 


Using project smart values -

Jira Project Automation -

0 votes
Daniel Ebers Community Leader Jul 09, 2021

Hi @asingh

just for a better understanding - will the values in the field you are looking for be known before and somewhat "static" or do they differ from time to time?

For example, I seem to have understood you have a project for incident management and change management. Assuming further you have a custom field called "customer" which is available to both projects.

Now you want to query for issues where the customer is "johndoe Corp" - is this correct?
Having this value set in the custom field for customer in both projects you could query by:

customer = "johndoe Corp"

Or is your requirement to programmatically query for ANY value that is in at least one issue in change projects AND same time at least in one issue of problem management?
If so, are these values known and can be entered by you or is an automated approach needed?


asingh I'm New Here Jul 09, 2021

Yes, that is the correct assumption. Like i have a custom field named Customer in both the projects. Now I want to ccompare both the project if thay have entered same name or different name. I know i can download report in Excel and can compare. But i want to do it through a automated script. This script will compare both the custom fields and will show me only those tickts which has different information in same type of custom field 

Daniel Ebers Community Leader Jul 11, 2021

Thanks for clarification, @asingh
I see nothing that would speak against doing so using a script :)
The approach will depend on if you are planning to execute a script from within Jira or from the outside.

From within Jira Apps that support scripting (like ScriptRunner) are something that is often used, from the "outside" you could familiarize with the REST API. The REST API access comes with no additional costs if this should be a relevant criteria.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you