Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


HTML
<style>
.release-box {
	height: 30px; 
	width: 100px; 
	padding-top: 8px;
	text-align: center; 
	border-radius: 5px; 
	font-weight: bold; 
	background-color: #8efeb3;  
	border-color: #FCE28A;
}

.release-box:hover {
  	cursor: hand;
    cursor: pointer;
    opacity: .9; 
}
</style>
<meta name="robots" content="noindex">

<div class="release-box">
<a href="https://docs.perspectium.com/display/krypton" style="text-decoration: none; color: #FFFFFF; display: block;">
Krypton
</a>
</div>



Table maps handle how data being shared out of ServiceNow is processed. Your outbound table map for Jira will require some field changes to ensure that data is mapped correctly when sent from ServiceNow to Jira.


Prerequisites


(warning) See Bond Jira with another app and complete its prerequisites.


Procedure

To get started with updating your table map, follow these steps:


UI Steps


UI Step

Access the outbound table map

Log into your ServiceNow instance and navigate to Perspectium Common Documents > PSP Common Table Maps or simply type and then select Table Maps in the Filter Navigator on the upper left-hand side of the screen. Then, search for and then click into the table map of the table you are integrating. You can easily search for this table map by typing the name in the search window under the Name field.

Table

Table Map

IncidentIncident to Common Incident
Change RequestChange to Common Change



UI Step

Add a new Field Map

In the PSP Table Field Maps, click New

Set the Source Field as the column name from the Jira Project field you added to the Incident or Change Request table, e.g. u_jira_projects. 

Then, set the Target Field as u_jira_projects. Click Submit when done.


UI Step

Edit the Priority source field 

Search for the Priority source field by entering "priority" in the search box below Source Field. Then, click the resulting record. 

Check the Use Script check box, and enter the following script to the Source Script

Code Block
languagejs
if (current.priority == "1")
	answer = "High";
else if (current.priority == "2")
	answer = "Medium";
else 
	answer = "Low";

Then, click Update


UI Step

Edit the Category source field 

Search for the Category source field by entering "category" in the search box below Source Field. Then, click the resulting record. 

Check the Use Script check box, and enter the following script to the Source Script

Code Block
languagejs
if (current.category == "1")
	answer = "High";
else if (current.category == "2")
	answer = "Medium";
else 
	answer = "Low";

Then, click Update