Workaround for getObjectConfiguration () method of jira service in jira 6?

Hi All,

I am migrating jira 5.2 to 6 .We do have some one customize plugin .It has been regiter in services But I am able to use method getObjectCofiguration("","","") method As it is depercreated.Is there any work around for the same.

2 answers

This widget could not be displayed.

I'm using version 6.1.4 of the API and the getObjectConfiguration method is not deprecated for me. I'm using getObjectConfiguration(String arg0, String arg1, Map<String, String[]> arg2). Structure of my service is something like this:-

public class myClass extends AbstractService
{
    public ObjectConfiguration getObjectConfiguration() throws ObjectConfigurationException 
	{
		 return getObjectConfiguration("SOMEIDENTIFIER", "somefile.xml", null);
	}
	
	@Override
	public void run() 
	{
		//  DO SOMETHING
	}
}

This widget could not be displayed.

Thanks Mitchell,

I t work fine

Ok. Please make sure you accept my answer so people know this quesiton has been solved.

To "accept" the answer, you need to click the "tick" button next to my answer above. You've liked my comment which isn't the same thing.

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...

593 views 25 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