It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How handle this macro with authentification for JIRA?

This question is in reference to Atlassian Documentation: JIRA Issues Macro

Hey,

First of all:

I want to implement a new macro/plug-in for Confluence that allows me to show the value of a specified field of an JIRA-Issue. For example: I paste the JIRA-key or the JIRA-link and the field "created", which I want to have, and finally I it shows me only the value of the field "created".

Does something like this exist?

If not: I have the problem that I need the authentification of the user (username/password) for the REST-API request, someone have an idea about this? Or could I see the source code for the existing JIRA Issue Macro?

 

Best Regards.

1 answer

1 accepted

0 votes
Answer accepted
Timothy Chin Community Leader Oct 31, 2016

There is a ApplicationLinkRequest class that you can use to make requests:

You'll probably be able to reverse the direction of the code in the example.

 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted 4 hours ago in United States

Atlassian Government Symposium

Good day members, Not sure if you are aware that Atlassian will be hosting a Government Symposium on May 1st, 2019 in Washington DC. For more details please click here If you have any questions...

12 views 0 0
View post

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