Can we create JIRA tickets for two instances (Company A and Company B) using API?

T Lam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2020

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 5, 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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events