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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 11 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

34 views 0 5
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