Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Automation for Jira - Identify is a ticket exists or should be created

Hello,

I am using Jira Server.

I need to create an automation where I create a ticket in one project, project A.

There will be an opportunity ID # on the ticket (which will a free text field).

 

I also need a ticket in project B. There are two scenarios:

  1. A ticket in project B does already exists, in which the newly created ticket in project A will link to it - and it will recognize that it exists by the opportunity ID #.
  2. A ticket in project B does not already exist, in which automation for jira will create a new ticket in project B - recognizing that a ticket does not exist by using the opportunity ID #.

Is this possible?

I truly appreciate any help or direction!

Best,

Adrienne

 

1 answer

0 votes
Curt Holley Community Leader Apr 19, 2021

Hi, may I just check I have your scenario right?

Are you saying you always need a ticket (with the same opportunity ID) in both Projects A and B? 

or

You need to have matching tickets in A and B only when an opportunity ID is present?

or....something else?

Another question. Is one project considered the master (where the content should be created)?

One issue perceive with using a free format field as the unique identifier for automation is; How will  this field be controlled? as people can put anything into it. This could lead to automation creating and or linking tickets and creating redundancy, confusion and overhead (to tidy up).

That said, this should be doable with automation. But the free format field as the unique ID at the centre of it.....worries me.

Hi Curt!

Thank you for the response. 

I will always need a ticket with the same opportunity ID in both projects.

I just need a way to recognize if the ticket already exists or not when a new ticket is created in project A, and if it does not exist, create it.

If it does exist, link it to the ticket in project A.

Project A would be considered the master, where the content should always be created.

 

I'm hesitant to use a free text field as well, but since the opportunity ID numbers can be endless, I unfortunately can't use a context.

Thank you!

Curt Holley Community Leader Apr 19, 2021

OK, cool. 

Final question; Why the two projects? wouldn't it be easier to run all Opportunities out of one project? Perhaps spread over multiple Boards/Teams/Components.

Anyway, have you tried what Bill suggested over here? Automation for Jira - Automation to link tickets w... (atlassian.com)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

1,101 views 19 26
Read article

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