I have a stand alone jira instance running in my machine. It is connected to MYSQL DB. I have a table called LeaveDetails in DB which contain columns like leaveStartDate, leaveEndDate.
In my createIssue screen I have customfields Leave Start Date and Leave End Date, I want the values entered in the createIssueScreen Leave Start Date and Leave End Date to be stored in the LeaveDetails table in MYSQL DB instead of customfieldvalue table. Could you please let me know how to achieve this. Thanks
Hi Nic, thanks for your quick reply. I have the LeaveDetails table also in JIRA database only. Instead of customfields storing the values in the 'customfieldvalue' table, I need the values to be stored in the LeaveDetails table. Could you please link me to any similar question or could any one provide me a sample code. Thanks.
As I said, I've not seen anything that will do this.
There are plugins which read data from other databases, but I'm not aware of any that directly write. The code shouldn't be hard though, just connect up another database source in your plugin and issue the required SQL.
I imagine it'll get horribly complex when you try to write searchers though - you'll need to duplicate the data into the Jira index, and then you'll not be able to write to the data externally because Jira can't index external changes. In fact, you'll probably not want to index or search the data at all.
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs