Skip to content
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

New sprint issue end point?! #222

Merged
merged 1 commit into from
Nov 4, 2021
Merged

New sprint issue end point?! #222

merged 1 commit into from
Nov 4, 2021

Conversation

duttonkj
Copy link
Contributor

I was trying to use the addIssueToSprint function and kept getting 404's back from the JIRA API. After some digging, it looks like it's now located in the agile api with a few minor changes. I was able to successfully add an issue to a sprint this these updates.

Heres the example from the updated docs:

curl --request POST \
  --user [email protected]:<api_token> \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '
    {
      "issues": [
        "PR-1",
        "10001",
        "PR-3"
      ]
    }' \
  --url 'https://your-domain.atlassian.net/rest/agile/1.0/sprint/{sprintId}/issue'

https://developer.atlassian.com/cloud/jira/software/rest/

Thanks!

I was trying to use the `addIssueToSprint` function and kept getting 404's back from the JIRA API.  After some digging, it looks like it's now located in the agile api with a few minor changes.  I was able to successfully add an issue to a sprint this these updates.

Heres the example from the updated docs:
```
curl --request POST \
  --user [email protected]:<api_token> \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '
    {
      "issues": [
        "PR-1",
        "10001",
        "PR-3"
      ]
    }' \
  --url 'https://your-domain.atlassian.net/rest/agile/1.0/sprint/{sprintId}/issue'
```
https://developer.atlassian.com/cloud/jira/software/rest/

Thanks!
@Seth10001
Copy link
Contributor

I just ran into this issue too. Is there a plan to merge this?

@pioug pioug merged commit 3cb5517 into jira-node:master Nov 4, 2021
@pioug
Copy link
Contributor

pioug commented Nov 4, 2021

I published a v7.0.0. I invited both of you @duttonkj @Seth10001 to the organisation, so feel free to maintain the project.

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