Issue
I'm integrating BMC remedy and JIRA to solve a problem.
Task: I run a rest service and it raises automatic JIRA after reading BMC remedy if there are any records which are of type hotfix. So basically few fields from BMC will be mapped to JIRA when JIRA are created.
Problem : Because Remedy API accepts only one search criteria (which is "hotFix" in my case), Every time my service runs it reads remedy and fetches all the data which are of type "hotFix" even the ones I've already created JIRAs for which is expected. But now i need to resolve this because I don't want to raise duplicate JIRAs for them.
I don't want store all these things in database due to some reason. (Well infra cost).
Is there any way I can import this data without creating duplicates?
Solution
Okay! I'm using a flat file.
As an alternative solution I've used a flat file to store the "date created" of last remedy incident with "HotFix" label (only one record !!! this gets updated every time my service gets a hit if there are new remedy incidents) and while fetching the data from remedy I'm ordering it based on date created and storing the most updated date (which would effectively serve me as a parameter for comparison when i hit my service next time to check if JIRAs till this particular date/time has already been created.) in this file.
This has resolved my issue.
Answered By - Saurabh Sharma
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.