Button/Link to Create JIRA issue from Confluence Page WITHOUT editing the page?
Asked by Kim Wall:

We plan on having a Confluence space that provides documentation to a large audience at our company. These users will be simply consumers of the space with view only rights, not edit. We'd like to have a button or link that has a nice integrated option to Create JIRA Issue much like the JIRA Issue macro when editing the page. I'm not seeing this as an option. I know I can do a direct HTML link and get them there, but if we had the macro-like integration that'd be nice, too.

This is in an effort to make finding support docs and opening issues related to the docs as easy as possible for our users which will not be having edit rights to our docs.

Any advice would be appreciated!

Thanks!


Answers:
author: JamieA
body: Use the jira issue collector... the javascript it requires you can put in a space include that is on every page.

comments: author: Kim Wall
body: Ah yes, I guess I \*could\* use that! Currently, there's some concern that it doesn't follow accessibility guidelines so we're not allowed to use them on our intranet pages. But perhaps our Confluence pages will get an exception....who knows.

I'll see if anyone else has ideas for me and if not you get the answer credit. :)

Thanks!


author: JamieA
body: There are other ways... you could just include a link to the CreateIssue page which hard-wires a project and whatever other fields you want. But the issue collector is the sexiest way.


author: Karie Kelly
body: We could not use the JIRA collector since we are an OnDemand customer and cannot incorporate the javascript produced. However, we have something similar - it is a home page that has several buttons on it that open the create issue dialog for the applicable issue type.

In JOD, there are several of the Adaptavist plugins enabled - so, if you don't have some of their free ones installed, you might not have these options. We used the Clickable macro and inside of it, inserted the Round Rectangle macro. For the Clickable macro, you insert a link so that when the user clicks on it, it navigates them accordingly. Consequently, the link we use was the link for the appropriate JIRA issue type. You have to have the PID, or project internal ID as well as the issue type internal ID.

\<insert Jira instance URL\>/secure/CreateIssue.jspa?pid=\<insert project ID\>\&issuetype=\<insert issue type ID\>

![](../../upfiles/Screen_Shot_2012-09-27_at_4.06.15_PM.png)

We did several of these and inserted them into different columns - example below is what four of them look like on one of our pages.

![](../../upfiles/Screen_Shot_2012-09-27_at_4.10.46_PM.png)

comments: author: Kim Wall
body: Thanks! I'll look into these Adaptivist plugins!


author: Juan Beck
body: This solution worked great except the "clickable" macro is escaping the issueType parameter and so I am not able to set the issue. Eithe way, this is a great solution! Thx!


author: William Crighton [CCC]
body: @Karie Kelly - Thanks for taking the time to come back and describe how you fixed your problem! Appreciated, since I'm now looking for just this thing


author: Ralfe Collie
body: I'm also finding the clickable marco not passing the issue type through to JIRA. Has anyone had any luck with this?


author: Fabian Hu?l
body: Hi [@Kim Wall](/t5/user/viewprofilepage/user-id/671402) ,

you can try using an add-on called "Viable Issues" that allows you to create a Jira Issue from Confluence.

Viable Issues helps establish standards for task, meeting, quality, and project management. Users can create and manage defined issue types from pages. This brings clearer structure into your collaboration workflow.

See [https://marketplace.atlassian.com/apps/1220378/viable-issues?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1220378/viable-issues?tab=overview&hosting=cloud)


author: Bruna Griebeler
body: Hello Kim!

I believe we don't have an option like that developed yet, but seems like a good idea! So what I suggest you to create a feature request on [jira.atlassian.com](http://jira.atlassian.com) so de developers can be aware of that!

Also, if you want to develop a macro, you may access developer.atlassian.com to get some information about how to use the Jira API.

Hope it helps!


author: Yuval Gershfeld
body: Hey [@Kim Wall](/t5/user/viewprofilepage/user-id/671402)

In Methoda we created an add-on that might help, Jcreate, allows you to create a Jira Issue from inside confluence while keeping the Jira experience. Once Jcreate has created the new Jira issue, Jcreate refreshes and adds the Jira Issue macro to your page. See: [https://marketplace.atlassian.com/apps/1224226/jcreate?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1224226/jcreate?hosting=server&tab=overview)