Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Jira/Salesforce Connector: Automatically create a jira ticket when Salesforce Opp = Closed-Won

Jira/Salesforce Connector: Automatically create a jira ticket when Salesforce Opp = Closed-Won

Jeffrey Bistrong
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 2, 2026

We have the app fire connector for jira and salesforce (https://marketplace.atlassian.com/apps/1214214/connector-for-salesforce-jira)

 

I need to automatically create a jira ticket with certain information from salesforce, when the opportunity = closed-won.

Anybody have some ideas on how to do this? I am trying to include some information from the opportunity and then have it appear in the description field in the newly created jira ticket

 

1 answer

0 votes
Aaron Pavez _ServiceRocket_
Community Champion
June 2, 2026

Hi @Jeffrey Bistrong 

> I need to automatically create a jira ticket with certain information from salesforce, when the opportunity = closed-won.

For that you need an APEX trigger. 

https://support.appfire.com/space/CSFJIRA/1873413628/Configure+automatic+Jira+issue+creation+from+Salesforce

An example(if you dont need the after update, remove it)

trigger OpportunityClosedWonJira on Opportunity (after insert , after update) {
for (Opportunity c : Trigger.new) {
if (Trigger.isUpdate && Trigger.isAfter) {
if(c.StageName == 'Closed Won'){

JCFS.API.createJiraIssuewithDefaultPostAction('10015', '10002');
}
}
}
}

 10015 its the jira project id

10002 its the jira work item key

>  I am trying to include some information from the opportunity and then have it appear in the description field in the newly created jira ticket

Here you need the mapping. What do you have mapped to the Jira description?

You can map the Opportunity name for example and the Jira description will have that information.

Regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events