How To Integrate RDMP with JIRA
RDMP can integrate with Jira to associate projects & releases with Jira tickets.
This can be used to prevent releasing project extractions without the correct checks and balances being done in Jira first.
This guide assumes you have an account on an publicly available Jira instance e.g. example.atlassian.net
Setup
Get some Credentials
You’ll need your Jira account username, this is typically your email address
You’ll need an API access token - This is used to programmatically interact with your Jira Instance
Navigate to https://id.atlassian.com/manage-profile/security/api-tokens
Create an API Token with a memorable name
This will generate a new API token for you - YOU WILL ONLY SEE THE TOKEN THIS ONE TIME
Copy the token and store it somewhere safe
Add your credentials to RDMP
Within RDMP navigate to “Tables(Advanced)”
Open the “Data Access Credentials” Section
If the “Decryption Certificate” is red and warning you that no certificate is set, then you will need to set one
Right Click on the “Data Access Credentials” folder and add a new set of credentials
Add your Jira username
Add the API token in the password field
Name it something sensible and save the credentials
Setup the Ticketing system
In the top bar, open up the “Locations” menu and click the “Set Ticketing system…” button
Give your ticketing system a Sensible name
Set the Url to be that of your Jira instance e.g “https://example.atlassian.net”
Set the Type to be “JiraPlugin.JIRATicketingSystem”
If this isn’t an option, check that you have the HICPlugin installed
If in doubt, contact James (either one)
In the credentials section, pick the credentials we’ve just created
Set the list of Releasable statuses
This is a comma separated list of statuses that an associated Jira ticket can be in that would allow for an extraction to be released
e.g. “Released,ReadyToRelease”
Save the configuration and run the checks
All going well, it should tell you how many project it can see, it should be >0 typically
You’re now ready to start using the ticketing system
Using the Ticketing system
Now that we have a valid ticketing configuration, we can start putting it to work
Navigate to the edit screen of a project
It should have an option to specify a “Master Ticket”
This is the ticket number i.e. “MYTICKER-123“
Use the show button to check if the ticket is valid
Set the ticket number that corresponds to the ticket in your Jira instance
When creating or editing an extraction in this project
You can set the “Request ticket” and “Release Ticket”
This allows RMDP to check that the release ticket is in one of the specified statuses before running the release engine on the extraction