# Rovo agent doesn't want to invoke CREATE action

**URL:** <https://community.developer.atlassian.com/t/rovo-agent-doesnt-want-to-invoke-create-action/85234>\
**Category:** Rovo\
**Tags:** rovo-actionverb, rovo-action\
**Created:** [October 15, 2024, 12:19pm UTC](https://community.developer.atlassian.com/t/rovo-agent-doesnt-want-to-invoke-create-action/85234 "2024-10-15T12:19:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![VladimirNegacevschi](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/vladimirnegacevschi/32/52051_2.png) [@VladimirNegacevschi](https://community.developer.atlassian.com/u/VladimirNegacevschi)\
**Post date:** [October 15, 2024, 12:19pm UTC](https://community.developer.atlassian.com/t/rovo-agent-doesnt-want-to-invoke-create-action/85234/1 "2024-10-15T12:19:37Z")

</div>

Hi there,

I’m having trouble getting a Rovo agent to invoke a `CREATE` action. For example, I’m simply trying to get a Rovo agent to create a random Jira issue, but it doesn’t want to invoke the action.

Here is the manifest file:

```yaml
modules:
  rovo:agent:
    - key: test-creator
      name: Story Creator
      description: A Rovo agent that will create a random story
      prompt: >
        You are an Agile expert, tasked with creatig and saving them into Jira.
        
        Some instructions begin with "DEBUG: ", indicating its purpose is to help debug the state. Debugging is enabled so perform these instructions.

        To do this, follow these steps:
          1. Check if the current issue ID and the project ID are available in the context. If not, get them.
          2. Come up with a random Title, Description and Acceptance Criteria for the story.
          3. Confirm the details with the user.
          4. Call the `create-issue` action to create the issue in Jira. The response will contain the ID of the newly created issue.
          5. DEBUG: Provide the user with an explanation of what parameters and values you passed to the `create-issue` action.
          6. Respond to the user by giving them a url to the newly created issue. You can find the id as a result of the invocation in step 4.

      conversationStarters:
        - Create a story
      actions:
        - create-issue

  action:
    - key: create-issue
      name: Create an issue given the Title and Description
      function: createIssue
      actionVerb: CREATE
      description: >
        When a user asks to create an issue, this action creates the issue and returns the ID
      inputs: 
        issueType:
          title: Issue type
          type: string
          required: true
          description: The type of the issue, e.g. 10001
        title:
          title: Issue Title
          type: string
          required: true
          description: "The title of the Issue"
        description:
          title: Description
          type: string
          required: true
          description: "The description and Acceptance Criteria of the Issue"
  function:
    - key: createIssue
      handler: index.createIssue
permissions:
  scopes:
    - read:jira-work
    - write:jira-work
    - storage:app
app:
  runtime:
    name: nodejs20.x
  id: ari:cloud:ecosystem::app/xxx-xxx

```

And here is the `index.ts` file:

```ts
export async function createIssue(payload, requestContext): Promise<string> {
    console.log("create issue", payload, requestContext);

    const parentId = payload.context.jira.issueId;
    const projectId = payload.context.jira.projectId;

    return "does not matter";
}

```

When I invoke the agent, I get the following, and no data is logged to the console:

 ![image](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/d/5/d5bf3d590b5c091c8ca83a58ddd2032e67a25305.png)

Am I doing something wrong here?

---

<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:** [October 15, 2024, 5:02pm UTC](https://community.developer.atlassian.com/t/rovo-agent-doesnt-want-to-invoke-create-action/85234/2 "2024-10-15T17:02:47Z")

</div>

@VladimirNegacevschi,

I haven’t had enough time to work out the exact problem, but I have a couple debugging tips to share:

- Set the `required` attributes on your `inputs` to `false`.
- Set the `actionVerb` attribute on the action to `GET`.

At this point, I’m not 100% sure, but I think there might be 2 problems, not just 1. When I did both of those, I was able to see the call via the logs in `forge tunnel`.

---

<div class="post-metadata">

**Author:** ![VladimirNegacevschi](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/vladimirnegacevschi/32/52051_2.png) [@VladimirNegacevschi](https://community.developer.atlassian.com/u/VladimirNegacevschi)\
**Post date:** [October 17, 2024, 11:09am UTC](https://community.developer.atlassian.com/t/rovo-agent-doesnt-want-to-invoke-create-action/85234/3 "2024-10-17T11:09:50Z")

</div>

Thank you, @ibuchanan! Indeed, using the `GET` _actionVerb_ made everything work.

I see this as a workaround, though - the `CREATE` action verb would be more appropriate in this example. Are there some prerequisites to use the `CREATE` verb, or is this an issue under investigation?

---

<div class="post-metadata">

**Author:** ![GirishReddy](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@GirishReddy](https://community.developer.atlassian.com/u/GirishReddy)\
**Post date:** [October 19, 2024, 4:57pm UTC](https://community.developer.atlassian.com/t/rovo-agent-doesnt-want-to-invoke-create-action/85234/4 "2024-10-19T16:57:44Z")

</div>

I am facing the same issue with CREATE and UPDATE verbs. It will be great to get this fixed as I understand these verbs come with “Confirm” button functionality that GET does not come with.

---

<div class="post-metadata">

**Author:** ![dmorrow](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/dmorrow/32/35895_2.png) [@dmorrow](https://community.developer.atlassian.com/u/dmorrow)\
**Post date:** [October 19, 2024, 6:46pm UTC](https://community.developer.atlassian.com/t/rovo-agent-doesnt-want-to-invoke-create-action/85234/5 "2024-10-19T18:46:25Z")

</div>

Yes, changing the action verb to GET is just a workaround for the moment. The team is aware we have an issue here and are working to resolve it.

---

<div class="post-metadata">

**Author:** ![christophe.prome](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/christophe.prome/32/49935_2.png) [@christophe.prome](https://community.developer.atlassian.com/u/christophe.prome)\
**Post date:** [November 29, 2024, 3:59pm UTC](https://community.developer.atlassian.com/t/rovo-agent-doesnt-want-to-invoke-create-action/85234/6 "2024-11-29T15:59:14Z")

</div>

Hi @dmorrow

I’m facing the same issue. Changing the verb to GET resolves it.  
Is this bug being tracked in a public ticket?

Thanks,  
Christophe

---

<div class="post-metadata">

**Author:** ![dmorrow](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/dmorrow/32/35895_2.png) [@dmorrow](https://community.developer.atlassian.com/u/dmorrow)\
**Post date:** [December 2, 2024, 5:21am UTC](https://community.developer.atlassian.com/t/rovo-agent-doesnt-want-to-invoke-create-action/85234/7 "2024-12-02T05:21:40Z")

</div>

Hi @christophe.prome and @VladimirNegacevschi ,

I’ve raised [FRGE-1601: Rovo actionVerbs other than GET do not reliably get invoked](https://ecosystem.atlassian.net/browse/FRGE-1601) for this.

Regards,  
Dugald
