Integrate HPSD tool with JIRA to populate one custom field value

Dear Team,

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

Regards

Nazim

1 answer

This widget could not be displayed.

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.

Regards

Nazim

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

536 views 23 15
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you