Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA-ServiceNow integration: Triggering project creation from ServiceNow

Arun Unnikrishnan
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 Leaders.
January 28, 2024

We have a business requirement where we have customer reporting issues in ServiceNow (SN) and if the customer project exists in JIRA, SN will trigger an integration and a JIRA issue (story) is created in the respective customer project in JIRA. 

 

We have scenarios where the customer projects doesn't exist in JIRA. In that case,

1. SN will check for the JIRA Project 

2. If project doesn't exist in JIRA, SN will trigger new project creation in JIRA (this can be done based on the SN documentation I read). 

 

My question is 

All our customer projects have the following configuration

Type: Software Development | Board: Scrum | Company Managed Project | Share setting with an existing project = Yes

 

Can these be triggered from SN? Or this needs to be taken care at the JIRA end? 

We are looking for an automation as the number of such customer projects will be more and manually doing it would be a pain. 

 

Thanks 

3 answers

1 vote
Syed Majid Hassan -Exalate-
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 Leaders.
January 30, 2024

Hi @Arun Unnikrishnan ,

This is Majid @ Exalate. 

You will need to create a Jira project in Jira itself - cant really be done from ServiceNow, but yes, it can be triggered from ServiceNow. Are you creating your own integration solution here? You can use an app like Exalate that makes connecting the two systems a piece of cake. You can then leverage the built-in scripting engine to do precisely what you want i.e. trigger the transaction from ServiceNow, find that the project does not exist in Jira and then create it on the fly.

Please let me know if you want to explore this further and I would be happy to assist. 

Thanks

Majid

 

0 votes
ramyaallena
Contributor
September 12, 2024

Hi @Arun Unnikrishnan ,

 

Have you found the solution for this? If you have any documentation regarding the integration, please share them. I am looking for the same.

 

Thanks in advance.

Vijaya Ramya Allena

0 votes
Luiz Ricardo Pereira da Silva
Contributor
January 29, 2024

Hello @Arun Unnikrishnan
As a Workaround solution I created a project to use as a template.
In your case, you can use any existing project as the basis for this template.
When the SN finds that the client's project does not exist, it uses Jira's REST API:
https://your-domain.atlassian.net/rest/api/3/project

With the body similar to this Example:

{
"key": "project_key",
"name": "project_name",
"description": "Testing project creation",
"projectTypeKey": "software",
"projectTemplateKey": "com.pyxis.greenhopper.jira:gh-simplified-scrum-classic",
"categoryId": 10008,
"leadAccountId": "user responsible for the customer",
"notificationScheme": 10000,
"permissionScheme": 10285
}


Use schema IDs as Notification and permission Schemas belonging to the template project
This is close to the method of creating a project with shared configuration
Use:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#about
https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#about
As supporting material in the development of this API.

 

Hope I helped you!

Suggest an answer

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

Atlassian Community Events