Configure SAP for the connection with Jira

Some topics are SAP specific and are therefore configured in SAP. Here is an overview of the possibilities. To ensure a smooth process, we recommend configuring the following topics on all systems.

Preparation for the Jira communication

In addition to importing the transports, minor adjustments must be made after installation.


ProcedureExample
1Typically, the SAP instances are protected by a firewall. In order for communication to be possible, make sure that Jira can access the SAP system via HTTP. In general the best way to do this is to contact your internal IT department.
2

Create a Communication user with role /IX2/JTMS_SERVICE for Jira in SAP with minimal permissions for the communication with Jira. This user will be used to create or modify transports and is stored in Jira globally or per SAP system.


3

You need to make adjustments to the role /IX2/JTMS_SERVICE for future updates via the transaction PFCG

Change the physical filename in the permissions for file access (technical name: S_DATASET) to match you SAP Systems transport directory. 

You can find the transport directory in the directory assigned to the parameter DIR_TRANS in transaction AL11.

Make sure to add /* for Unix/Linux or \* for windowssystems to the path.


4

Create CTS projects that match the projects or components in Jira via the transaction SPRO_ADMIN:

-> Type /nSPRO_ADMIN in the command field to open the "Customizing: Project Administration" Screen

5

Create a Attribute to store the linked Jira issues via the transaction SE03. In the Administration area, select Display/Change Request Attributes and create the new attribute with e.g. the name ZJIRA

6

Create a RFC destination with e.g. the name JIRA and type G that points to Jira. Therefore define the Host and Path Prefix and define a Logon Procedure in the tab Logon & Security. See the section SAP Transport Panel Customizing on this page for further information.  

To change existing configuration:

→ Type the transaction code /nSM59 in the command bar to open the Configuration of RFC Connections

→ Open the HTTP Connections to External Server folder

→ Double Click on the connection you created, e.g. Jira

→ now you can change the settings as you like

7

SAP Transport Panel is shipped with a default configuration that can be adjusted as you wish via the transaction SM30. See the section SAP Transport Panel Customizing on this page for further information.  


8If you want to see the Return code of SAP transports imported on your productive System in Jira, you need to activate the BAdI CTS_IMPORT_FEEDBACK in your productive SAP System. See the section Activate Import Feedback on this page for further information.


9

Add a Schedule Job to ensure updates to Jira via the transaction SM36, when changes are done in SAP. See the section Schedule Update Job on this page for further information.  


SAP Transport Panel Customizing

SAP Transport Panel is shipped with a default configuration that can be changed by editing the table contents of the SAP Transport Panel Customizing View /IX2/JTMS_CUST in the transaction SM30. If you develop on multiple systems this customizing needs to be adjusted on each system. 

FieldDescriptionExample
ActiveEnable or disable the whole functionality.



Comment activeAtlassian Jira will be notified when a SAP transport has been imported without errors.
Error comment activeAtlassian Jira will be notified when a SAP transport has been imported with errors.
ToCs Select whether all objects or objects in active transport tasks should be released when the creation of a transport of copies is triggered by Jira.
Jira web URLAtlassian Jira is started when a issue is selected in the SAP transport by double-clicking on it. Here you enter the path to Atlassian Jira, where the issues can be found.
Attribute

For the Jira issue link SAP Transport Panel uses the transport attributes. Enter the name for the created attribute in this field. 

RFC DestinationStore the created RFC destination for communication with Jira.
Naming transportsSelect a naming convention for a transport created via Jira
Naming ToCSelect a naming convention for a transport of copies created via Jira

Activate Import Feedback

If you want to see the Return code of SAP transports imported on your productive System in Jira, you need to activate the BAdI CTS_IMPORT_FEEDBACK in your productive SAP System.


ProcedureExample
1Call the transaction SE18
2Enter BAdI Name CTS_IMPORT_FEEDBACK
3Select Display
4Navigate to Implementation → Change

5Select /IX2/JTMS_BADI_IMPRT and press Continue

6Click on Activate Business Add In Implementation

Schedule Update job

If you want your SAP system to update the Jira issues according to changes that where made in SAP and not in Jira you need to schedule a SM36 job in your development systems with the following parameters. If you develop on multiple systems this job needs to be added on each system. 

ParameterSetting
Job NameJTMS_UPDATE_JIRA_TRANSPORT_STAT
UserEnter a user with the permissions of the role /IX2/JTMS_SERVICE.
ABAP Program/IX2/JTMS_UPDATE_JIRA_TR_STATU
VariantLeave this empty. The default settings will update all transports modified in the last year. 
Period Set to "Each hour" or shorter interval.