(I'm Francis and working with the team that buiild Exalate - a Cross Company Integration Solution)
We have the following workflow:
The question is:
Is it possible to synchronize this time-related information back to the incident, so that we can keep track of the budget consumed by the development activities?
This use case is an advanced synchronisation case and needs quite some explanation. The overall flow is as follows:
In Exalate for ServiceNow, you can define a trigger – which will regularly check (every 20 secs) if an incident should be synchronized.
In this case, an additional state has been added, such that the user has an easy way to send over the incident.
The incident gets wrapped into a message, and the message is sent over to Jira.
The Exalate for Jira Server receives the message, finds out if this is the first time this incident is being synced, and processes the following code:
A link is also added to the incident.
This is something that the development team does and results in a detailed ‘mini-project-plan’.
Using a ‘script listener’, update events on stories which are escalated into the sync of the epic.
Whenever an epic is synced, all the relevant information is collected from the underlying stories (and optionally subtasks), using the following code
The code to update the ServiceNow incident is:
The prettyPrint method is a custom method (included in the script) which transforms the duration into a pretty print format (expressing time in days/hours/minutes).
The whole configuration is available and can be requested through our support channel.