Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to access page properties from java while filtering the page property ID?

Luca Eichler
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 30, 2019

Hi, I want to parse page properties in my custom macro.

To access it for now I just search for pages with the specified label, parse them and extract the page properties from the rendered table.

However, this approach has the drawback that I cannot access the page property metadata, specifically the page property ID, which I need to filter the found properties. Because of that my current approach does not work for this advanced use case.

I looked into the REST API of the page properties plugin and found a query which does exactly what I want to do, namely /rest/masterdetail/1.0/detailssummary/lines. So now I have two questions:

  1. Can I do a REST API query from within the Jira Instance itself? If I can do this, I would use this approach. Otherwise:
  2. Is there a way to access page properties from java while filtering by label and page property ID?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events