You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm currently trying my API-requests in Postman and I've encountered the following problem:
According to the Attlassian-Docu, the path to find an issue from a specific board would be
http://url-jira-inter.de/rest/agile/latest/board/2/issue/16715
But that way I only get the 404 Error. The issue as well as the board exists, so I don't really know what to do about that.
I can access the issue through
http://url-jira-intern.de/rest/agile/latest/issue/16715
(Without going through the board) the problem is, I want to get the issues-worklogs from a specific board and therefore it would be unconvenient not to reference the board in the path (I hope that there might be an easier way to get to all the worklogs and request them but I don't know yet). Does anyone know, why I can't access the issue as long as the board is mentioned in the path? (Same problem occurs for sprints, epics, etc)
I can't see a doc that says you can get to an issue via a board that way.
rest/agile/<version>/board/<boardid> does have an issue function, but that returns all the issues on the board.
The url you've given is not a valid call, but if you drop the issue number off the end of it, then you should get all issues on board with id 2
Yes, I changed the url (I'm an intern and don't really know what is sensitive information so I excluded it, as I figured it wasn't important).
In that case I misunderstood the function, I do in fact get all issues on board 2. But in that case, how do I get to the worklogs? As far as I'm concerned, I can't get the worklogs when I'm returning all issues. I might be overlooking something but thank you for the clarification
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, so if you have a look at the call as documented at https://docs.atlassian.com/jira-software/REST/7.3.1/ (look for the line "get issues for board" and click to expand it), you'll see an example response
Near the end of the example, there is a block of json entitled "worklog"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This link doesn't work =/.
I have found a response that gives me a worklog, but only for one issue, that's why I asked if there is a way to get all worklogs through the board, without having to specify every issue that belongs to that board.
I have to write an automated program, so I can't look up all issues, before retrieving the worklogs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Khoros (the software behind Community) has a bug where it pads urls with invisible junk when they are pasted into it. I've re-done the link, please try it again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
oh, maybe they don't want external links? (or it's just a bug, idk)
The link now works but I still seem to be using it a little wrong. When I give the parameter "id" it should only return all issue-id's for that board, or am I wrong? No matter what parameter I'm giving it, it always gives me every attribute of every issue from the board.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, the call is to "get all issues from a board". I'm not sure why you're trying to give it parameters which the docs do not say is there.
The default is to return all the data for each issue, but have a look at the "fields" parameter for the call, that will probably help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.