Hi,
I am developing a blueprint that shows info from Jira macro, when i search information about this topic i Found this code in atlassian's page.
But with this code, the limit of issues displayed is automatically set to 20.
Is there a way to increase this limit using code?
<ac:structured-macro ac:name="jiraissues">
<ac:parameter ac:name="anonymous">true</ac:parameter>
<ac:parameter ac:name="columns">type;key;summary</ac:parameter>
<ac:parameter ac:name="url">
<ri:url ri:value="http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+CONF+AND+%28summary+%7E+jiraissues+OR+description+%7E+jiraissues+OR+comment+%7E+jiraissues%29&tempMax=10"/>
</ac:parameter>
</ac:structured-macro>
Hi @Garcia Castillo, Santiago (SI IT ITE L&A),
Sure. Try to add this line (replace 100 with the limit you want) inside <ac:structured-macro>...</ac:structured-macro>:
<ac:parameter ac:name="maximumIssues">100</ac:parameter>
First of all, thanks for helping!!
I tried copying that line inside the macro but didn't work
<ac:structured-macro ac:name="jiraissues">
<ac:parameter ac:name="anonymous">true</ac:parameter>
<ac:parameter ac:name="columns">type;key;summary</ac:parameter>
<ac:parameter ac:name="maximumIssues">100</ac:parameter>
<ac:parameter ac:name="url">
<ri:url ri:value="http://localhost:8080/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+PRUEB&tempMax=50"/>
</ac:parameter>
</ac:structured-macro>
Is there something I could be doing wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Garcia Castillo, Santiago (SI IT ITE L&A), can you please add a screenshot of the error?
Do your Confluence and Jira have application links?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not getting an error, the page loads correctly the macro but with the issue limit to 20
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Garcia Castillo, Santiago (SI IT ITE L&A), got it. For some reasons, it works for me...
Can you open your page in source editor and check the line that refers to the issue limit?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
I used the macro with the server-id instead of the url and it worked!!
Thanks for all!!
One question @Kseniia Trushnikova do you know if there is a Documentation page with all this technical information(params, classes...)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Garcia Castillo, Santiago (SI IT ITE L&A), that's great, so glad it works!
Maybe these docs can help: https://developer.atlassian.com/server/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.