Display dynamic values in customfields without saving in Jira Database

Hi,

Jira Version: 5.2.6

Requirement: Pull the values from remote database and show in jira customfields in edit and view screen without saving values in jira database.

Is it possible?

Is there any exisiting plugins available?

Using AJS Ajax we can show the values in edit screen. How can we show the selected values in view screen? Is it possible through AJS?

Thanks in Advance.

3 answers

1 accepted

We started developing new plugin for our requirement.

Yes i agree. By using those plugins we can get values from remote database. But if we selected value then it will store in the jira database to show in the view screen. We dont want to store the same data in two places.

So you want something that will potentially issue hundreds of queries against a remote database, and won't be searchable? I've not seen a plugin to do that, but you could write one.

I suppose you could also do it in javascript or on the client side, but that would expose your database connection settings.

Yes i already tried by using AJS ajax request to the other app. But i am getting this error.

<script type="text/javascript">

AJS.$(document).ready(function() {

console.log("....1......");

AJS.$.ajax({

url: "http://192.168.1.12:8080/djx",

type: "GET",

dataType: "jsonp",

success: function(msg){

console.log("............"+msg);

},

error: function(response) {

console.log("error............"+ response.toSource());

}

});

});

</script>

Even in this process we will get the values and display in only edit issue screen what about the view screen?

I have to admit I'm out of my depth on AJS, I've only tinkered with existing stuff and made minor tweaks. Connecting to another system is not something I've tried.

Ohh ok.Thanks Nic Brough for reply.

Hi Nikhil [TCS],

i'm interested in your CSV solution for a custom field. I'm trying to make a drop down field with values that can be change in a month or a week. But for me CSV is good solution. Can you explain me how do you create that field?

Thanks Nik!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,739 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot