Create Jira issues from Confluence in 2024

Michael Schlueter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2024

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 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

1 answer

1 accepted

0 votes
Answer accepted
Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 30, 2024

Hi @Michael Schlueter 

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? :)

 

Michael Schlueter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 5, 2024

Thanks Mirek,

I will try the feedback mechanism to solve my problem.

Regards

Michael

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events