Concern regarding OOB Jira integration

sanjeevkumar
Tera Contributor

Hi Team,

We are using OOB Jira integration that works bidirectionally when we are creating any story in rm_story table and Jira side. We don't have any issue with Story issue type. However, We do have other issue type like Bug, Task and incident (custom). I need help with below points. 

 

How we can create Bug, Task and incident (custom) at ServiceNow side. Which table/field we should use.

Does ServiceNow handle all issue type with any sort of configuration?

Do we need to create separate flow in order to achieve it?

 

1 REPLY 1

Ravi Gaurav
Giga Sage
Giga Sage

Hi @sanjeevkumar 

First on the jira board all Incident etc are called issue.
Example :-

Examples

The Jira REST API examples guide contains a range of examples, including examples of requests for creating issues, updating issues, searching for issues, and more.

  • Make sure the content type in the request is set to application/json, as shown in the example.
  • POST the JSON to your Jira server. In the example, the server is http://localhost:8080/jira/rest/api/2/issue/.
  • The example uses basic authentication with admin/admin credentials.
  • You'll need to add a project to the instance before running and get the project ID of the project to which you want to add the issue beforehand.

To create an issue using the Jira REST API, follow these steps:

  1. Create the data file that contains the POST data. For this example, we'll assume the file is named data.txt.

  2. Add the following JSON to the file:

     
    { "fields": { "project": { "id": "10000" }, "summary": "No REST for the Wicked.", "description": "Creating of an issue using ids for projects and issue types using the REST API", "issuetype": { "id": "3" } } }

    In this data, the project ID is 10000 and the issue type in our case is 3, which represents a task. You should pick an ID of a project in your instance and whichever issue type you prefer.

    Note that instead of the id you can also use the key and name for the project and issuetype respectively. For example,"key": "TEST" for the project and "name": "Task" for the issuetype.

    Link :- https://developer.atlassian.com/server/jira/platform/rest/v10000/intro/#examples

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/