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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 45m ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

40 views 3 3
Read article

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