My jira client PHP app can access my jira url and can use the rest api but cant authorize or access other users data. what is the solution for this
like below i can use my url https://wkjira.atlassian.net/ but i cant use another user url
https://anotheruser.atlassian.net/
$oauth = new Atlassian\OAuthWrapper('https://wkjira.atlassian.net/'); // replace your jira url
$oauth->setConsumerKey('test') // replace your jira consumer key ->setConsumerSecret(__DIR__ . '/test.pem') // privet key ->setRequestTokenUrl('plugins/servlet/oauth/request-token') ->setAuthorizationUrl('plugins/servlet/oauth/authorize?oauth_token=%s') ->setAccessTokenUrl('plugins/servlet/oauth/access-token') ->setCallbackUrl( $app['url_generator']->generate('callback', array(), true) );
Please give me a solution for this.