With Cucumber for Jira, you can create a living documentation from a Git provider: Bitbucket, Github, and Gitlab including server versions.
Each Jira project has access to one Git repository per living documentation.
As soon as you activate BDD features in your Jira project, a new menu entry, Living Documentation, appears on the left side of the Jira project page:
Click on Living Documentation. You will be prompted to set up your connection to the Git provider by choosing a cloud or server one:
All details to set up a server provider are available here.
If the provider is not available, you can send a request to the Cucumber for Jira team by clicking on I can’t see my provider:
Note: To see your organization repositories, you need to authorize the access to your organization repositories in the provider authorization frame.
Once the connection to the Git provider is set, you can select the repository:
Then choose a branch:
Once you have selected a provider, repository and branch, Cucumber for Jira imports the feature files of the repository to create the living documentation.
If you belong to an organization, the repository field will display two tabs. You can select either an organization repository or a personal one:
For GitHub users: You may need to request organization access if you have an active policy. please look at this guide on how to approve OAuth Apps for your organization.
For Bitbucket users: You may need to whitelist the C4J IP addresses for your repository if you have set IP restrictions on your repository. Please look at this guide on how to allow IP addresses if you have turned on this restriction.
These IP ranges used for outgoing traffic should be enabled:
18.104.22.168 - 22.214.171.124 (126.96.36.199/21)
188.8.131.52 - 184.108.40.206 (220.127.116.11/21)
18.104.22.168 - 22.214.171.124 (126.96.36.199/21)
188.8.131.52 - 184.108.40.206 (220.127.116.11/22)
18.104.22.168 - 22.214.171.124 (126.96.36.199/18)
188.8.131.52 - 184.108.40.206 (220.127.116.11/18)
Once the feature files are loaded, you can navigate to the living documentation.
Be aware that feature files located inside hidden folders ( folders starting with '.' ) will not be loaded.