Skip to content

Some features added #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Some features added #29

wants to merge 1 commit into from

Conversation

Dewstar
Copy link

@Dewstar Dewstar commented Sep 19, 2014

Added Delete in CurlClient
Added function to resolve an issue in Api
Added function to reopen an issue in Api
Added function to delete watchers in Api
Added function to delete comments in Api
Added function to delete attachments in Api

Added function to resolve an issue in Api
Added function to reopen an issue in Api
Added function to delete watchers in Api
Added function to delete comments in Api
Added function to delete attachments in Api
@aik099
Copy link
Member

aik099 commented Oct 31, 2015

Not sure if it's a good idea to hardcode any transition-specific actions in general API class. Since in JIRA workflow and transition names can be customized then for some users such call might end up with error.

Better to have universal transition method, that would accept:

  • transition name
  • fields to change

@aik099
Copy link
Member

aik099 commented Feb 27, 2016

I've changed my mind. Please rebase this and it can be merged. We can later refactor to remove duplicate transition finding code code and make actual transition names customizable.

@aik099
Copy link
Member

aik099 commented May 22, 2016

Please rebase and solve conflicts.

@@ -82,6 +82,8 @@ public function sendRequest($method, $url, $data = array(), $endpoint, Authentic
} else {
curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($data));
}
} else if($method == "DELETE") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already addressed in #76.

@jpastoor jpastoor self-assigned this Aug 18, 2016
@jpastoor
Copy link
Collaborator

jpastoor commented Aug 18, 2016

Planning on rebasing this myself if original author does not want to after #137 is finished. (Especially the remove methods are notable missing from current API)

@Dewstar Dewstar closed this Dec 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants