Seeking your advise on integrating one our tool with JIRA. We need to fetch one list from our tool and populate it in JIRA custom field. Manually adding items is like pain cause daily we have these items getting incremented. So we are planning to have interface that pushes data to JIRA customfieldoption table. In regards to this would like to know whether is it right way to achieve, does it impact on any other parts of JIRA DB. Please advise
Do NOT do this. You could break your Jira installation beyond repair. You must NEVER alter Jira data in the database while the system is running.
You will need to write a plugin that can insert the data via the API. Probably the best approach is to write one that extends the REST interface to add that function, then your other tool can push the data in via that.
Another option might be to have a separate database table which you can add data to, and use one of the "database values" field plugins.
Hey Nic Brough,
Thanks for informing us by that we take the necessary precautions.
The API you are referening to is exposed by JIRA itself or the third party API ?Request you to put more light on REST interface. How should I proceed, any site url with the same approach can help us.
Jira has an internal API which you can write code for in addons. It's not quite this simple, but I think of the whole front-end (the bit the user runs in a browser and types stuff into) as just one interface on to the API. Another one is the REST addon (bundled into the standard install) which exposes some of the internal API over a remote connection. Other addons talk to the data via the same internal API, but do different things.
The REST API does not (yet) expose functions to allow adding options to custom field lists. So you'd need to write an addon which does expose that option if you want to do it via REST. Or write an addon that can accept your requests to add options in some other format - depends on what you expect to be trying to add those options.
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