Confluence open source / example apps that integrate with Jira - jira

I am considering creating a custom Confluence app that displays information from Jira.
Are there examples or open source projects for me to take a look at?

You can display Jira information using Jira macro. To do this simply type in
{ JIRA
this will automatically open the Jira macro. In this macro you can create a search query from your Jira and insert it here. You will also have to select the right Jira cluster. Another good feature about this tool is that you can also create pie chart from your Jira query. You can customize the pie chart using different Jira fields.

Related

kiwi tcms integration woth 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)

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.

JIRA: developing a custom plugin for JIRA

I am trying to come up with a custom plugin for JIRA. The custom plugin supports git notes feature in JIRA dashboard.
My question is, does commercial JIRA support a custom JIRA plugin?
And are any tutorials/best practices for developing custom JIRA plugin?
does commercial jira support custom jira plugin?
Yes. You can write your plugin and upload it in the "Manage Add-ons" section of your admin area.
are any tutorials/best practices for developing custom jira plugin?
Yes. Take a look at the JIRA Plugin Guide (the link is broken at the moment of this edit, this link appears to replace the broken one).
You may also investigate Atlassian Marketplace in order to search any specific plugin that develop by other companies.
Since various plugins had already been developed, those are being leaded to you during development of the plugin.

What would be the best way to migrate work items from TFS 2010 to JIRA?

I am in the process of evaluating JIRA as a replacement to TFS 2010.
I know that JIRA has the capability to import from CSV but cannot figure out how to export fields like the History fields from TFS to a spreadsheet.
Any recommendations / tools would be highly appreciated.
I don't think there is an easy way to do what you want.
I am thinking you would need to make your own tool using the TFS API. I don't know if JIRA has an API to do the inserting, but TFS's api is fairly good. You could easily get that data out.
For "How To" on the TFS API I usually look to Shai Raitan's TFS API blog posts.
I do custom migrations from all sorts of databases (ClearQuest, TeamTrack, Remedy) into JIRA. It takes about a week to do the job so it isn't cheap but if you have a lot of data and want more information than the standard importers provide, it's one way to go. The CSV importer probably won't do what you want.
Have a look at Appfire's Enterprise Migration Utility. It migrates TFS to JIRA, amongst others.
Simple enough, create a Query that has all your work items, click on the icon to open in Excel,
Save the Excel file as CSV.
done.
Here's what worked for me (sorry about the formatting; it was a .docx):
For every TFS Server:
Create a query by using Iteration Path for all Product Backlog Items and Bugs for every Product and/or every Scrum Team.
A single query can be used for all projects/products by altering the iteration path(s)
Format the results in TFS by selecting the appropriate columns.
Save the query, run it, and open it in Excel an .xlsx file with the word RAW included (for example, XXXX_ALL_WIs_RAW.xlsx).
Using the same file, select Save As… to create and save an excel .csv file.
Note that not all columns/mappings will be used on all projects. Delete unnecessary columns, and change column headings as needed.
The TFS columns/fields, and the Jira fields (some custom) to which they are mapped, for me were:
Iteration Path maps to Scrum Team
ID maps to Legacy ID
Work Item Type maps to Issue Type
Title maps to Summary
Description maps to Description
Acceptance Criteria maps to Acceptance Criteria
Assigned To maps to Assignee (Users must exist in Jira for this to work!)
SubCategory maps to Component/s
Effort maps to Story Points
Severity maps to Priority
Case Number maps to Case ID
Client Name maps to Customer
Platform maps to Environment
Once the .csv has been modified, use File/Check for Issues/Inspect document to determine if modification are required so the inspection results yield no issues.
Save the clean .csv as _CLEAN (for example, XXXX_ALL_WIs_CLEAN.csv).
Rename spreadsheet headers for import to appropriate Jira field names.
Field modifications:
If the work item Acceptance Criteria field has nothing in it, enter “No Acceptance Criteria in the original TFS work item” on the csv.
If the work item Description field has nothing in it, enter “No Description in the original TFS work item” on the csv.
Bugs – Severity must be converted to a number (1 through 5).
Change column headings on the .csv to match the Jira field names, as defined above in 2d.
Clean/Inspect the .csv
If necessary, increase the advanced setting jira.bulk.create.max.issues.per.import in Jira appropriately to handle the number of items being imported (there is a 250 item import limit by default).
In Jira, at the Site Admin Level – Create new Jira projects based on individual products (NOT projects!)
Create or add users that will be used in the various projects.
In Jira, at the Site Admin level – Create Custom Fields as needed
Associate new and existing custom fields to appropriate project screens, and update.
In Jira, at the Site Admin Level – Re-index DB
At the Project level – Create components for the product by using subcategory from TFS. (Can be assigned to Component Lead)
You should now be ready for import into Jira.
Test Case Migration from TFS to Jira/Zephyr if you need it:
Test case migration is a 2-part process.
The first part will get the test cases from TFS, and create and format an Excel spreadsheet containing the data that will then be imported into Jira (Zephyr).
The second part of the process will use a Java tool to import the data from the spreadsheet created in Part 1 of the process.
Part 1 – Test Case Export
Install TCExport (Used to create the Excel spreadsheet that will be used to import the test cases into Zephyr).
When mapping fields while using the .jar tool, use the Excel column letter.
Part 2 – Test Case Import
1. Download the import utility zfj-importer-utility-0.38.jar
This utility can be run by double-clicking the file in most environments. To launch the utility double-click the .jar file or run through the command prompt as: java -jar .
Detailed instructions for using the utility can be found here: https://www.getzephyr.com/insights/getting-started-zephyr-jira-importer-utility

Resources