# Can forge implement post function?

**URL:** <https://community.developer.atlassian.com/t/can-forge-implement-post-function/51887>\
**Category:** Forge UI Kit and Custom UI\
**Tags:** post-function, jira-cloud\
**Created:** [September 10, 2021, 1:49am UTC](https://community.developer.atlassian.com/t/can-forge-implement-post-function/51887 "2021-09-10T01:49:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![liumulin](https://avatars.discourse-cdn.com/v4/letter/l/6f9a4e/32.png) [@liumulin](https://community.developer.atlassian.com/u/liumulin)\
**Post date:** [September 10, 2021, 1:49am UTC](https://community.developer.atlassian.com/t/can-forge-implement-post-function/51887/1 "2021-09-10T01:49:17Z")

</div>

When can forge provide post function? If so, what are the implementation methods? If not, does it only support connect?

---

<div class="post-metadata">

**Author:** ![PratikSharma](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/pratiksharma/32/43252_2.png) [@PratikSharma](https://community.developer.atlassian.com/u/PratikSharma)\
**Post date:** [September 12, 2021, 10:13am UTC](https://community.developer.atlassian.com/t/can-forge-implement-post-function/51887/2 "2021-09-12T10:13:13Z")

</div>

Sorry, I don’t totally understand your question. It be better if you explain a bit more

- If you want to make a post request on jira or confluence apis you would have to add scopes in your manifest.yml.

```auto
permissions:
  scopes: 
    - 'read:me'
    - 'jira:read'
    - storage:app

```

reference:- [here](https://developer.atlassian.com/platform/forge/product-rest-api-reference/)

- if you want to send a request to an external api. you would have to app the api url in the manifest.yml like

```auto
permissions:
  scopes: [
    'read:me'
  ]
  external: 
    fetch: 
      backend: 
        - 'api.giphy.com'

```

reference:- [here](https://developer.atlassian.com/platform/forge/manifest-reference/permissions/)

example:- [Bitbucket](https://bitbucket.org/atlassian/forge-issue-translation/src/master/)

---

<div class="post-metadata">

**Author:** ![jhazelwood](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/jhazelwood/32/44414_2.png) [@jhazelwood](https://community.developer.atlassian.com/u/jhazelwood)\
**Post date:** [September 13, 2021, 5:21am UTC](https://community.developer.atlassian.com/t/can-forge-implement-post-function/51887/3 "2021-09-13T05:21:17Z")

</div>

Hi @liumulin ,

Excluding [connect-on-forge](https://community.developer.atlassian.com/t/discussion-connect-and-forge-together/48261/), which is in alpha, I believe workflow validators are the closest Forge feature.

---

<div class="post-metadata">

**Author:** ![liumulin](https://avatars.discourse-cdn.com/v4/letter/l/6f9a4e/32.png) [@liumulin](https://community.developer.atlassian.com/u/liumulin)\
**Post date:** [September 13, 2021, 7:41am UTC](https://community.developer.atlassian.com/t/can-forge-implement-post-function/51887/4 "2021-09-13T07:41:38Z")

</div>

Hello, does forge provide a rest API for post function?

---

<div class="post-metadata">

**Author:** ![ibuchanan](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/ibuchanan/32/35815_2.png) [@ibuchanan](https://community.developer.atlassian.com/u/ibuchanan)\
**Post date:** [September 13, 2021, 11:33am UTC](https://community.developer.atlassian.com/t/can-forge-implement-post-function/51887/5 "2021-09-13T11:33:06Z")

</div>

@liumulin,

> does forge provide a rest API for post function?

No. The ability to extend [issue workflow post-functions](https://support.atlassian.com/jira-cloud-administration/docs/configure-advanced-issue-workflows/#Advancedworkflowconfiguration-postfunctions) is only available as [a Connect Module](https://developer.atlassian.com/cloud/jira/platform/modules/workflow-post-function/) at this time. To @jhazelwood’s point, [the Forge workflow validator](https://developer.atlassian.com/platform/forge/manifest-reference/modules/#jira-workflow-validator--beta-) module is the most similar concept available to Forge.

---

<div class="post-metadata">

**Author:** ![liumulin](https://avatars.discourse-cdn.com/v4/letter/l/6f9a4e/32.png) [@liumulin](https://community.developer.atlassian.com/u/liumulin)\
**Post date:** [September 15, 2021, 1:41am UTC](https://community.developer.atlassian.com/t/can-forge-implement-post-function/51887/6 "2021-09-15T01:41:16Z")

</div>

OK, thank you. Can forge implement the validator function? Does forge provide a rest API for storing validator properties? In addition, Can forge provide rest APIs for JQL function and condition?
