Configure scheduler to synchronize the Jira status to ServiceNow automatically
Configure the scheduler to synchronize the state of Jira issues with application vulnerability item, container vulnerability items and tasks in the sn_vul_agile_manifest table.
Before you begin
Role required: schedule_admin or admin
About this task
The scheduler runs automatically according to the configured schedule. The state of the records created in the Application Vulnerable item, Container Vulnerable item, Application Remediation task, and Container Remediation task table that have issues created in Jira gets updated according to the current status of the issue in the Jira platform based on the state mapping in the Configuration Rule.
All the records of Application Vulnerable item, Container Vulnerable item, Application Remediation task, and Container remediation created in the sn_vul_agile_manifest table will be considered for Jira issue creation.
Procedure
Navigate to All > System Definition > Scheduled Jobs > Sync Status.
You can modify the Run, Time zone and Time fields in the Scheduled script.
| Field | Description |
|---|---|
| Run | Time interval to use for running the scheduled job:
To learn more about creating and using business calendars and defining business calendar entries, see Create a business calendar and Define business calendar entries. |
| Day | Day on which the scheduled job should run. - If Run is set to Weekly, select the day of the week. For example, select Wednesday. - If Run is set to Monthly, select the day of the month. For example, select 25 for the 25th day of the month. This field appears only if you select Monthly or Weekly in the Run field. |
| Repeat Interval | Duration of the repeat interval for each scheduled job execution. Enter the duration in the number of days, hours, or minutes. For example: - To run the scheduled job every four days, enter 04 in the Days field. - To run it every 26 hours, enter 26 in the Hours field. - If it should repeat at an interval of 13:30:25, enter 13 in the Hours field, and then enter 30 and 25 in the two unlabeled fields after it. |
| Time | Time of day at which the scheduled job should run, expressed in hours, minutes, and seconds on a 24-hour clock. The selection that you make in the Time zone field determines the time zone for this entry. |
| Time zone | Time zone to use with the Time field entry when you specify the time at which the scheduled job should run. Select a time zone entry: - -None-: Use the default time zone for the logged-in user who is creating the scheduled job. For example, the scheduled job runs at 04:45 p.m. US/Pacific time if it is the user's assigned time zone, and you enter 16:45 into the Time field. - Use System Time Zone: Use the default system time zone that is specified for the instance in which it runs. For example, the scheduled job runs at 10:15 PM London time if Europe/London is the default system time zone for the instance, and you enter 22:15 in the Time field. - Actual time zone. - For example, the scheduled job runs at 1:30 PM in the US Eastern time zone if you select US/Eastern and enter 13:30 in the Time field. |
| run\_as | By default, the run\_ as field value is empty. You can set the value as the required domain user's value to create issue for specific domain. |