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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 we create JIRA tickets for two instances (Company A and Company B) using API?

Not sure if this is the right platform to ask this but we are looking for a way to create a JIRA ticket from Salesforce depending the ticket type to either Company A or Company B.  Both are using JIRA Cloud.  


1 answer

0 votes
Brant Schroeder Community Leader Oct 05, 2020

If you are using the API you could do it one of two ways.  Define the proper parameters in issue creation through the API when the issue is created.  (Company A or B use component or issue type or custom field which is set on issue creation)  This would require the application that is submitting the job to know the difference and then have a case statement that would adjust the information the application uses to create the API call.  You could also do something in the workflow on issue create.  Maybe you have a custom field or component value that is set via API call (much easier to program) and then have the workflow set all the other information to define it as company A or B.  This way you would not be able to set a different issuetype.  

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

156 views 0 5
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