Rule not running automatically
Asked by Shilpa G:

![Screen Shot 2021-08-10 at 9.29.18 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/155441iD6A0606AF1641A73/image-size/large?v=v2&px=999 "Screen Shot 2021-08-10 at 9.29.18 PM.png")


Answers:
author: Shilpa G
body: It works fine when it is triggered manually, but doesn't update when it is automated.

comments: author: Shilpa G
body: [@Melo](/t5/user/viewprofilepage/user-id/3868701) [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369)

This issue is now fixed.

The problem was with the Post function. It was calling another event and I changed it to Issue creation and Generic event respectively for both the transitions.

I reached out to Atlassian support and they helped me fix it.

Thank you for your help.


author: CSTI - Soporte
body: Hi,

Could you explain how fixed it please? I have the same problem.


author: Shilpa G
body: [@CSTI - Soporte](/t5/user/viewprofilepage/user-id/1433657) please make the change in the transition where this rule is being called. You have different default functions there. You can edit it to call Issue creation.


author: Jack Brickey
body: what do you see in audit logs?

comments: author: Jack Brickey
body: the image you provided is not helpful. I assume you are testing by creating a new issue in the project where this rule exists? when you do that please view the associated log and share the details.


author: Jack Brickey
body: I dont understand "It works fine when it is triggered manually, but doesn't update when it is automated."

this rule should trigger whenever an issue is created. it isn't a manual rule.


author: Shilpa G
body: ![Screen Shot 2021-08-10 at 10.05.06 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/155447i76D5D85E9D813706/image-size/large?v=v2&px=999 "Screen Shot 2021-08-10 at 10.05.06 PM.png")


author: Shilpa G
body: The above can easily be called and fields get updated, but the same does not work on issues created, issue transitioned, etc.


author: Jack Brickey
body: what happens if you create an issue?


author: Shilpa G
body: Nothing happens on the automatic rule, the fields stay blank.

If manually run, the fields get updated.


author: Jack Brickey
body: i need to see the audit log associated with an issue being created. if the rule does not trigger at all when an issue is created then either...

* the rule is not in the same project where the issue was created
* there is a bug with automation
* unknown reason


author: Shilpa G
body: [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369) Please can you share steps on how I can get the audit logs?


author: Jack Brickey
body: On Aug 10 you replied to Melo with an image of the audit log but it was only for the config change. The point is that The audit log is in that very place where you took that image.

project settings \> automation \> audit log

find the entry that is associated with the create issue event. It may show success or failure. Click on show more and share the results.

![5E244B4C-188C-4A05-909C-19EE6D4E2DE7.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/155582i99123C5105FEAD5E/image-size/large?v=v2&px=999 "5E244B4C-188C-4A05-909C-19EE6D4E2DE7.jpeg")


author: Shilpa G
body: It doesn't show anything only says Config Changes every time I edit it.

CP_POC is a multiple group picker field that I am trying to update.


author: Jack Brickey
body: Ok. For the project associated with these issues please go to the following location and give me the screenshot. Project settings \> Automation

I want to see the list of rules for that project and please indicate which rule is in question here. Similar to below.

![CBBBA20A-8848-45F2-8E6D-555DF138F431.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/155605i5E5223D0514296A8/image-size/large?v=v2&px=999 "CBBBA20A-8848-45F2-8E6D-555DF138F431.jpeg")


author: Melo
body: Hi Shilpa,

Could you please provide the audit log for this rule?

Thanks,

Melo

comments: author: Shilpa G
body: ![Screen Shot 2021-08-10 at 9.43.35 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/155442iC279215F3A61E3BD/image-size/large?v=v2&px=999 "Screen Shot 2021-08-10 at 9.43.35 PM.png")


author: Melo
body: Hi [@Shilpa G](/t5/user/viewprofilepage/user-id/1222056),

As mentioned, you should check the scope of your rule.  

You can do that by going to "Rule details", then select the "Scope".  

I would suggest using a single project, like the example below.

![Screen Shot 2021-08-10 at 1.29.57 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/155464i6160EBA5A5B5E8A6/image-dimensions/571x210?v=v2 "Screen Shot 2021-08-10 at 1.29.57 PM.png")


author: Melo
body: Also, if you're not planning to trigger this rule in multiple events, you can choose the trigger "Issue Created" instead of "Multiple events"\>"Issue Created"  
![Screen Shot 2021-08-10 at 1.35.51 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/155466iDC9588D82BF0FC7A/image-size/large?v=v2&px=999 "Screen Shot 2021-08-10 at 1.35.51 PM.png")


author: Shilpa G
body: [@Melo](/t5/user/viewprofilepage/user-id/3868701) it is a single project.

It does not work even if I set it to issue created.


author: Melo
body: Hi Shilpa, that's strange.

Here are some tips for debugging your rule

<https://support.atlassian.com/jira-software-cloud/docs/debug-a-rule/>

Also, some information about service limits, but I guess that shouldn't be the case

<https://support.atlassian.com/jira-software-cloud/docs/what-are-service-limits/>

You can check how many executions you had - I think some cloud subscriptions may have limitations

<https://support.atlassian.com/jira-software-cloud/docs/view-performance-insights/>

I'm not sure if I will be able to help further, if the scope is fine, and if you're creating issues and the rule is not being triggered being triggered. I would suggest opening a ticket with Atlassian support.

Thanks,

Melo


Tags: jira-cloud