I'm working on an app which includes the Jira API (and agile API).
I need a list of projects (this is no problem), I use :
https://example.com/rest/api/latest/project?projectKey=TA
and then I need to be able to click on a project and give me a list of sprints + issues for each sprint. Here I am stuck. I have found another related question (JQL: Get list of sprints), which gives me a list of sprints based on a projectkey, by using :
https://example.com/rest/greenhopper/1.0/integration/teamcalendars/sprint/list?jql=project+%3D+TA”
However, I don't know how to get the issues for said sprint.
I also know how to get the issues for a sprint directly from the agile API : https://example.com/rest/agile/latest/board/5/sprint/4/issue
but I can't seem to link the board to the projectkey.
I have found a similar topics on the atlassian site itself, but they usually mention there is no REST endpoint to do what I want. Although I'm sure it should be possible (?).
The answers I find elsewhere, I don't really understand (filter on rapidId's or something similar) so I really need a noob-explanation of what to do.
Having a similar issue, but I have found a way to get the board and sprint id(s) needed to get the sprint details. I'd like to improve this as it depends on string matching the board name (which you may not have) to the project.
You can get all the rapidview ids here:
https://example.com/rest/greenhopper/1.0/rapidview
Assuming you have a standard naming convention for boards this will work, buts its a big If.
https://example.com/rest/greenhopper/1.0/sprintquery/
will give you the sprints.
Interested to see if anyone else have found a better way to do this!
Related
Is there a way to easily search for / list template repositories on Github?
Templates are quite interesting because they allow to create a new project from a, well, template without having to get all the history with it.
An example with Spring Boot : https://github.com/Spring-Boot-Framework/Spring-Boot-Application-Template.
I tried the usual search on Github itself but using the "template" query doesn't give any meaningful results because many repositories use the "template" string without the actual Github meaning. I couldn't find any way to tag those repos either.
Even the API search page doesn't seem to include proper qualifiers for template repositories.
That leaves me to wonder how they can actually become useful since the discoverability is so low at the moment.
Thanks!
Got an answer from Github support yesterday. As of now, it is not possible.
Hi Julien,
Thank you for writing to GitHub Support.
If I understand you correctly, you want a way to search for repositories but only show template repositories.
If so, then, unfortunately such functionality does not exist. If you want, I can pass this ticket to our product team which reads and evaluates feedback about our products.
Regards,
Paul
GitHub Support
We have a project that often has the exact same work flow needed.
We have a feature that includes detailed work items, along with very helpful descriptions.
Is there not a way to take a current Feature and duplicate it along with all of the work items?
I have tried using templates but that has not worked out.
I tried Copy Work Item and checked 'Include existing links' but it does not copy the Related Work, which is what I need.
To further clarify I would like to duplicate a Feature, along with its Product Backlog Items and their Tasks.
You would be able to use powershell and VSTS REST API to achieve this copying. A sample powershell is available in the thread here
You can modify that and create a script to support your needs.
I have heard that, product based companies will look for what we have done outside of projects and also looking for the github profile.
In the meantime, I have created an automation application which addresses the specific requirement (Timesheet) in our organization. So, I thought of uploading this one too.
I have also done the screen cast and uploaded it to YouTube for adding in the profile (Resume).
This exact tool is not useful for all the people , but useful for the people in our organization, in which they can edit/contribute more.
Now I am having the question like, can I upload this kind of the code to GitHub?
Thanks.
Yes, you can.
Code on GitHub does not have to be useful to other people. You can push code there even if it is only useful to you or people in your organization.
You could also use a private repository if you do not want other people to see the code.
See: https://github.com/pricing
May be a well known question, but actually I'm asking this, because I'm not familiar with these tags.
I've seen similar types of tags in various Github projects, especially in their README.md. My questions are manifold regarding these:
What's the purpose of these tags?
How to generate them?
Is there any good practice or documentation that suggests what types of tags can be used or should be used in a project?
When a project can be determined viable using such a tag?
What's the purpose of these tags?
These images are provided by external services, often continuous integration services, and are used to show interesting information about the repository.
For example, the first badge you show in your example says that the build is "passing" (the exact definition of this will be build-specific, but it commonly means that the tests pass and nothing blew up during the most recent build).
The third example, coverage: 12%, is a code coverage report.
How to generate them?
Each service will have its own way.
The second badge in your example is from Scrutinizer, and unfortunately I can't find documentation about its badges. But most badging systems work by giving you a link for each project or job that you can use on your website or GitHub or whatever, and when a build happens the badge's appearance is updated accordingly.
The Travis CI documentation contains a good example.
Having answered the first to questions, I think your last two largely disappear. The badges that can be used are determined by whatever services you can find. The badges that should be used are entirely up to you.
I have started to use Cloud9 IDE recently and have to say I really like it as an individual. I use VS 2010 at work and TFS 2010 too. This made me think about the TFS equivalent for Cloud9. GitHub is something I have always been aware of but never really used.
I have done my research and read docs etc, what I really need some clarification in though is the whole Work Item system. I know GitHub has an Issue tracking but does it have a Work Item system similar to TFS. With the main features such as assigning work items to developers?
A little explanation to just clarify would be fantastic. Thanks!
If you're looking for a way to have Issues show up like WorkItems in your task list in visual studio, I don't think there is a solution for this to date.
You can however assign developers to issues within GitHub:
Create or Edit an Issue
Click the gear next to "No one is assigned".
Select a member from your organization to assign the issue to them.