Hi,
I have to retrieve a list a projects assigned to an account.How can i do that?Please suggest me any code which i can include in my script.
When i had to retrieve a list of groups assigned to a user i used a code which looks like this:
function getGroups(user)
{
var groups;
var fixedURL = "/rest/api/2/user?username=";
AJS.$.ajax({
url: fixedURL+user+"&expand=groups",
type: 'get',
dataType: 'json',
async: false,
success: function(data) {
groups = data.groups.items;
}
});
return groups;
}...
Can you please suggest me a code like this which brings me the list of projects assigned to an account?
Thanks in advance
Regards,
Asif
You can check Tempo's API using the REST Browser (https://developer.atlassian.com/display/DOCS/Using+the+REST+API+Browser).
Hi Timothy,
I have installed REST API browser. But iam not sure how tod the code i want.When I click on send aftr setting parameters in the browser, nothing happens. I expect browser to give me the code after clicking on send.
Thank You,
Asif
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.