I am able to get/set Jira project property with API.
Currently I need to get it from my jira plugin using getEntityProperty.
It worked with Jira 7.x perfectly, but for Jira 8.x I get the following error:
Below is my java code to get the property:
ApplicationUser user = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser();
ProjectPropertyService projectPropertyService =
EntityPropertyService.PropertyResult propertyValues =
projectPropertyService.getProperty(user, proj_id, SEARCH_KEY);
Option<EntityProperty> jsonValues = propertyValues.getEntityProperty();
EntityProperty value1 = jsonValues.getOrNull();
JSONObject result = new JSONObject(value1.getValue().toString());
str = result.get("string").toString();
Hello @Mamikon Papikyan ,
I believe I have just answered this question in another thread you created:
However, in short:
Calling all Confluence Cloud Admins! We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events