Button/Link to Create JIRA issue from Confluence Page WITHOUT editing the page?

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!


3 answers

1 accepted

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

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


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.

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>

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.

Thanks! I'll look into these Adaptivist plugins!

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!

@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

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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,479 views 4 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you