Create Jira issues from Confluence in 2024
Asked by Michael Schlueter:

I know, this has been asked a couple of times, but I couldn't find a suitable answer for my use case that is still working.

In line with the Atlassian claim "unleash the potential of every team" we want bring more teams into Jira (Data Center). We use Confluence (Data Center) as an established starting point and display the relevant set of Jira issues to the user.

I would like to ease the creation of new Jira issues for the users, that they can invoke the "Create Issue" dialog with the right project and issue type preselected. In the past we used [direct HTML links](https://confluence.atlassian.com/jirakb/how-to-create-issues-using-direct-html-links-in-jira-server-159474.html) for this purpose, but this method has been removed with Jira 9.

I can create an issue collector, but I'm not a aware of a suitable method it integrate the issue collector in a Confluence page. There's also the REST-API, but there's no REST-API call that invokes the "Create Issue" dialog.

It shouldn't be that hard, right? Am I missing something?

Regards

Michael


Answers:
author: Mirek
body: Hi [@Michael Schlueter](/t5/user/viewprofilepage/user-id/544617)

Since I remember using Issue Collector requires mostly using HTML macro.. That feature was then changed due to security concerns.. Then some plugins show up that still allowed that (especially on Cloud). Many people overall complained that Jira and Confluence are Atlassian products but do not allow good integration to trigger creating an issue from Confluence page..

As for Issue Collectors those can be customized / configured a little bit more as described here

<https://confluence.atlassian.com/adminjiraserver/advanced-use-of-the-jira-issue-collector-938847349.html>

So overall it is pretty powerful feature, can be used but requires some preparation.

I would simply share also a nice blog that gives an overview of how this can be achieved step by step

<https://www.madcapsoftware.com/blog/feedback-mechanism-using-jira>

Using REST API to trigger issue creation should be also a fine solution but still you have to prepare a request and trigger this somehow. Mostly it is done with button that you would build using e.g JavaScript.. Using webhooks might be also good to trigger the REST call but not sure how many of them are implemented for on-prem. Definitively according to <https://jira.atlassian.com/browse/CONFSERVER-52487> there are some webhooks available

<https://docs.atlassian.com/ConfluenceServer/rest/7.3.1/#api/webhooks>

So maybe this would be a way to experiment, but as a alternative you might also take a look also on this solution that would make a direct request to a Issue Collector...

<https://confluence.atlassian.com/jirakb/how-to-access-issue-collector-form-without-embedding-it-in-a-page-826872619.html>

Then you need only a Collector ID and simply add a default link to the page that you want on Confluence... maybe it would work? :)

comments: author: Michael Schlueter
body: Thanks Mirek,

I will try the feedback mechanism to solve my problem.

Regards

Michael


Tags: confluence-data-center

confluence-server

data-center

jira-server

jira-software

new-to-jira

server