kiwi tcms integration woth JIRA - jira

I try to connect my Kiwi TCMS to JIRA server, but when i try to report a bug to jira it open always same project. How to define link betwen projects in Kiwi TCMS and JIRA server? Where can i configure that parameters?
I only add jira to bugtracker in kiwi tcms like described in docs. I add link to jira, and username\password for my account in jira. Dont see any other options in kiwi tcms interface.

By what I was able to gather when reading the documentation to set up my Jira integration was that all the "integration" does is provide an autofill link to recreate the ticket in Jira (one way, KiwiTCMS -> Jira).
I would suggest trying to change the api link to one that points at project rather than the organization.atlassian.net link. Otherwise, it doesn't appear to be possible at this time :(

By default, kiwi searches project in jira matched with product name of your test plan. If there is no matches , it opened the first project available for your user.
https://kiwitcms.readthedocs.io/en/latest/_modules/tcms/issuetracker/types.html#JIRA.get_project_from_jira
There are three options (kiwi version 11.7):
in the kiwi, rename product name to match with the name of project in jira (https://jira.readthedocs.io/api.html#jira.client.JIRA.projects);
create a jira user with only one project available to search and used it for kiwi;
customize get_project_from_jira function, so it returns the desired project (https://kiwitcms.readthedocs.io/en/latest/installing_docker.html#customization)

Related

How to get all boards in jira project using either Rest API or jira-ruby gem

I am trying to use this How to get all sprints in project using JIRA REST API to build code which gets all sprints for jira project. I miss one piece however: how to get all boards in jira project?
Proposed solution is to
use https://myjira.com/rest/agile/1.0/board to get all boards
and for every board to query https://myjira.com/rest/agile/1.0/board/BOARD_ID/project to find out if it belongs to my project.
However my jira has ~10'000 boards. I can't make 10'000 JIRA queries for them. I need something like https://myjira.com/rest/agile/1.0/board?project=PROJECTNAME. If that's not possible, then I need at least to include project name into /board result.
Acc. to https://docs.atlassian.com/jira-software/REST/7.3.1/?#agile/1.0/board-getAllBoards you can use the projectKeyOrId parameter in your GET request to provide the project's key, e.g.
https://myjira.com/rest/agile/1.0/board?projectKeyOrId=PROJECTNAME

Can we export testcases/Reports from testlink to JIRA

We are planning to use one testcase management tool for our project.
I am using testlink in my previous project.
But my management want JIRA as all our sprint planning and bug tracking is happing over there.
Can I export Testlink testcases and reports in JIRA without using any add-ion
If no, Then what are other option I can use.
I have find Zephyr add-ion which can do similer like this. is it any other option present?
I have also found that JIRA can accept rest-api but then I need to make changes in testlink project so testlink can send JSON to JIRA
What should I follow. any suggestion will help
I worked with one QA team that created a custom 'testcase' issue type in JIRA. They removed all the standard JIRA fields that weren't required and added in custom fields for things that were not covered by standard JIRA fields (such as 'test category', 'pass/fail' checkbox, etc.).
The 'testcase' issues were used as sub-tasks for user stories. Using this approach each requirement had one or more test cases associated with it.
When they needed to report they would do an issue search for issues of type 'testcase' within a particular time period. Then they would export all fields to Excel.
In my company we're using Testlink and JIRA and has been proposed to remove Testlink migrating all the data to JIRA but depending of the usage of JIRA(amount of data it is managing) as this can overload JIRA due to you will need several custom fields, maybe customized with JavaScript and that can be worth.
We analysed the possibility to use the Zephyr plugin which is appropiated for this usage.

How enable JIRA service on Gitlab Project services tab?

I'm trying to integrate JIRA issue tracker with Gitlab and following instructions from official docs.
My `/etc/gitlab/gitlab.rb' configuration file looks like
gitlab_rails['issues_tracker_jira'] = true
gitlab_rails['issues_tracker_jira_title'] = "Atlassian Jira"
gitlab_rails['issues_tracker_jira_project_url'] =
"http://localhost:7777/issues/?jql=project=:issues_tracker_id"
gitlab_rails['issues_tracker_jira_issues_url'] =
"http://localhost:7777/browse/:id"
gitlab_rails['issues_tracker_jira_new_issue_url'] =
"http://localhost:7777/secure/CreateIssue.jspa"
JIRA web app installed and running at localhost:7777
Modifying gitlab.rb file as showed above enabled JIRA in Setting tab as expected but services tab doesn't contain JIRA. Of course, I choose Atlassian Jira in Features, specified jira project name (same as gitlab project name) saved changes and in Project services tab saw Assembla, Atlassian Bamboo and others but didn't see JIRA. What I'm doing wrong?
UPDATE
As VonC pointed out, CE doesn't support JIRA fully. But, according to CE and EE comparison, CE still supports JIRA partially, in particular, mention JIRA ticket from Gitlab. As I understand, I still able to point issues to my JIRA instance and add issues in JIRA but I have to manually create project in JIRA and gitlab project name must be the same with the JIRA project name, am I right? I think so, because when I do it everything works the ony problem is log-in-problem described below.
Also, linking to JIRA doesn't work until I'm not logged in to JIRA. Is there any way to provide JIRA credentials to Gitlab CE?
We are using gitlab-ce 8.2.2-ce.0 and JIRA 6.4.11. I didn't have to configure anything in gitlab.rb.
First, configure the template so you don't have to do everything for each new project:
http://localhost:7777/admin/application_settings/services
Open "JIRA" and exactly set this (including the ##-stuff - don't replace it):
Project url: http://localhost:7777/browse/#project-name#
Issues url: http://localhost:7777/browse/:id
New issue url: http://localhost:7777/secure/CreateIssue!default.jspa?selectedProjectId=#project-id#
Then for each project, go to "Project > Settings > Services", activate JIRA and adapt the settings to use the correct project name and ID.
gitlab project name must be the same with the JIRA project name, am I right?
No, this is not necessary.

What is the recomended TFS build template for FAKE integration?

FAKE documentation has description for integrating with TeamCity but there is no detailed description on TFS integration.
I think I need a custom build process template but before I create one I wanted to make sure that none exists.
Could you recommend me TFS template that integrates FAKE?
You need to create a custom activity that hosts and runs your FAKE process.
http://www.hanselman.com/blog/ExploringFAKEAnFBuildSystemForAllOfNET.aspx
There is some good documentation online for creating custom activities:
http://blogs.msdn.com/b/jimlamb/archive/2009/11/18/how-to-create-a-custom-workflow-activity-for-tfs-build-2010.aspx
And I recommend that you add it to the Community Build Tool project.

Migrate JIRA project from one instance to other

We have a JIRA instance installed on our side and our client is using that. Now client have purchased license of JIRA on Demand and want us to migrate their project from our JIRA to their.
Is there a way to achieve that?
Thanks in advance
Kaushik
Check out Altasian Splitting+a JIRA instance page:
Occasionally an organisation may need to split its existing JIRA instance into two separate instances. For example, there might be a requirement to have some particular projects in one JIRA instance, and other projects in a second instance.
Basicly, It's done by backing up the project and restoring it on the new server.
You will find a nice tutorial here:
http://www.jusuchyne.com/codingforme/2012/12/jira-migrating-certain-projects-from-instance/
As described here, there is a Plugin in the Atlassian Marketplace, that lets you copy the configuration: https://marketplace.atlassian.com/plugins/com.awnaba.projectconfigurator.projectconfigurator

Resources