Limit of issues on Jira issues macro
Asked by Garcia Castillo, Santiago (SI IT ITE L&A):

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&amp;tempMax=10"/>  </ac:parameter></ac:structured-macro>


Answers:
author: Kseniia Trushnikova
body: Hi [@Garcia Castillo, Santiago (SI IT ITE L\&A)](/t5/user/viewprofilepage/user-id/5254270),

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

comments: author: Garcia Castillo, Santiago (SI IT ITE L&A)
body: Hi [@Kseniia Trushnikova](/t5/user/viewprofilepage/user-id/4593830)

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&amp;tempMax=50"/>
</ac:parameter>
</ac:structured-macro>
```

Is there something I could be doing wrong?


author: Kseniia Trushnikova
body: [@Garcia Castillo, Santiago (SI IT ITE L\&A)](/t5/user/viewprofilepage/user-id/5254270), can you please add a screenshot of the error?

Do your Confluence and Jira have application links?


author: Garcia Castillo, Santiago (SI IT ITE L&A)
body: I am not getting an error, the page loads correctly the macro but with the issue limit to 20


author: Garcia Castillo, Santiago (SI IT ITE L&A)
body: [@Kseniia Trushnikova](/t5/user/viewprofilepage/user-id/4593830) ![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/269750i728288A2F6793B98/image-size/large?v=v2&px=999 "Capture.PNG")


author: Kseniia Trushnikova
body: [@Garcia Castillo, Santiago (SI IT ITE L\&A)](/t5/user/viewprofilepage/user-id/5254270), 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?

![Confluence - Open in source editor.png](https://community.atlassian.com/t5/image/serverpage/image-id/269770i53C408FD21AF6D7C/image-size/large?v=v2&px=999 "Confluence - Open in source editor.png")


author: Garcia Castillo, Santiago (SI IT ITE L&A)
body: Hi!

I used the macro with the server-id instead of the url and it worked!!  

Thanks for all!!   

One question [@Kseniia Trushnikova](/t5/user/viewprofilepage/user-id/4593830) do you know if there is a Documentation page with all this technical information(params, classes...)


author: Kseniia Trushnikova
body: [@Garcia Castillo, Santiago (SI IT ITE L\&A)](/t5/user/viewprofilepage/user-id/5254270), that's great, so glad it works!

Maybe these docs can help: <https://developer.atlassian.com/server/>


author: Garcia Castillo, Santiago (SI IT ITE L&A)
body: I will take a look, thanks for all!!


Tags: confluence-server

server