Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

kishor nanaware February 16, 2014

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

0 votes
kishor nanaware February 19, 2014

Thanks Mitchell,

I t work fine

Graeme Mitchell
Contributor
February 19, 2014

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

Graeme Mitchell
Contributor
February 23, 2014

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.

0 votes
Graeme Mitchell
Contributor
February 16, 2014

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

Suggest an answer

Log in or Sign up to answer
TAGS
Atlassian, Team '25 Europe, Atlassian conference, AI-powered teamwork, Atlassian events, keynote speakers, Barcelona tech conference, Atlassian Williams Racing, Carlos Sainz, Jenson Button, Mike Cannon-Brookes, Anu Bharadwaj, Atlassian Rovo

Atlassian Williams Racing is coming to Team '25 Europe 🏎️

Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.

Register now
AUG Leaders

Atlassian Community Events