Yesterday on a call I was asked if we could “Integrate Jira” , so when a Risk Review, Policy Review, Internal Control Audit Record, etc (anything with a deadline) it could be automatically created in Jira.
I have never used Jira so I know little or next to nothing, but creating a free acount on their platform we managed to do it.
When an Internal Control Audit is created in eramba:
1- we trigger a dynamic status, i was using the condition below but it can take many forms
2- create a notification that triggers when that dynamic status is trigged, the notification needs to use REST Webhooks with the following settings:
endpoint:
https://company.atlassian.net//rest/api/3/issue
headers:
Content-Type: application/json
User-Agent: eramba
Authorization: Basic <base64 key>
body:
{
"fields": {
"project": {
"key": "<project key>"
},
"issuetype": {
"id": "<issue type>"
},
"duedate": "%SECURITYSERVICEAUDIT_PLANNED_DATE%",
"summary": "Control %INTERNAL_CONTROL_NAME% audit deadline on %SECURITYSERVICEAUDIT_PLANNED_DATE%.",
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "description"
}
]
}
]
}
}
}
The result is that the records get created in Jira including the due-date on the right field.
You will need the following APIs from Jira to identify the issue type ,project ID, etc:
- /rest/api/3/issue/createmeta
- /rest/api/3/issuetype
I hope this helps for inspiration!