# Custom Provider for Rest module

**URL:** <https://community.developer.atlassian.com/t/custom-provider-for-rest-module/57290>\
**Category:** Jira Server\
**Tags:** jira-data-center, jira-server\
**Created:** [April 5, 2022, 5:16pm UTC](https://community.developer.atlassian.com/t/custom-provider-for-rest-module/57290 "2022-04-05T17:16:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![taszilvo](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@taszilvo](https://community.developer.atlassian.com/u/taszilvo)\
**Post date:** [April 5, 2022, 5:16pm UTC](https://community.developer.atlassian.com/t/custom-provider-for-rest-module/57290/1 "2022-04-05T17:16:23Z")

</div>

Hey,

I’m using a Rest module in our plugin. I’ve created a custom Json serializer with @Provider annotation used. The problem is that sometimes it works, sometimes it doesn’t. After every atlas-mvn package it’s random that it’ll work. I have no idea what’s the problem and what to do with this issue. Looks like it doesn’t always use (or find?) my custom Provider.  
Any idea?
