Automation - 'Only include issues that have changed since the last time this rule executed' checkbox

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2021

Hi

 

Some of my automated rules are doing nothing. The log says:

ScreenHunter 940.png

 

I can remember this option, but can't find the box to deselect:

Where is the box?

What I'm doing wrong here?

 

ScreenHunter 942.png

Humberto

 

13 answers

2 votes
wwalser
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 12, 2021

I'm investigating this. A workaround for the moment: clicking on the text associated with a checkbox is typically sufficient to toggle the checkbox. Try clicking the text then saving the rule. You'll know if worked if the rule starts executing on all relevant issues.

Edit: didn't realise this was for A4J Server. I'll check with that team to see if they have news.

1 vote
Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 12, 2021

Hey,

Many thanks for all updates.

This is not fixed yet:

[SRJIRA-5012] Checkboxes in Automation for Jira became hidden with SR enabled - Product Support (adaptavist.com)

 

Lastest comment "... hard to fix...."

Jamie Echlin _ScriptRunner - The Adaptavist Group_
Atlassian Partner
May 12, 2021

There is an explanation of the problem here:

https://productsupport.adaptavist.com/browse/SRJIRA-5012?focusedCommentId=405556&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-405556

Anyway, the fix for this should be released on 19 May 2021.

There is a release candidate version if you want to check it fixes the problem in your non-production environments, in a following comment.

1 vote
Gyorgy Dani-Rauf May 11, 2021

As a temporary workaround while you are editing the rule and you can't see the radio buttons and the checkbox, turn on the Web Developer Tools (Ctrl+Shift+I or F12) and Inspect element.

<input class="radio" type="radio" name="executionMode" id="jql" value="jql" checked=""> or <input class="checkbox" type="checkbox" name="onlyUpdatedIssues" id="onlyUpdatedIssues" checked="">
and uncheck clip (in Chrome I had to uncheck height and width as well) under element, so you can see the selected values and make the necessary changes.

1 vote
Kai Becker
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2021

Having the exact same issue.

  • Jira 8.5.9
  • A4J 7.26

I can confirm that its still working in our second instance, with the same Jira version but A4J 7.1.16. 

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 18, 2021

Thanks for sharing

Like John Funk likes this
0 votes
Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 30, 2021

still not solved by the script runner team.

0 votes
Vikas Pandey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 8, 2021

Okay I fixed this for add comment once check box, in comment add action using following script.

<script>
jQuery(document).ready(checkBoxRenderer);
function checkBoxRenderer () {
if($("#iFrameResizer0").contents().find("#addCommentOnce").is(':visible')){
    if($("#iFrameResizer0").contents().find("#addCommentOnce").val()){
   $("#iFrameResizer0").contents().find("#addCommentOnce").css({'clip': 'auto', 'height': '15px', 'width': '15px'});
}else{
//do nothing
console.log('do nothing');
}
  } else {
    setTimeout(checkBoxRenderer, 3000);
  }
}
</script>

 If you are seeing this with other checkboxes too, inspect the element and right click the HTML to copy the selector and replace the script above with existing selector >> #addCommentOnce, on all three lines.

It is breaking because some plugin is pushing clip(0,0,0,0) attribute to check box CSS:
Screenshot 2021-04-08 at 3.06.07 PM.png

0 votes
Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2021

Still waiting for the Script Runner fix version

0 votes
Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 10, 2021

Still waiting for the Script Runner fix version.

0 votes
alex February 18, 2021

Same issue with Jira 8.5.11, Automation Lite 7.2.1

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2021

Hi,

Do you have the app:

Script Runner?

AviGhosh
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 8, 2021

Yes, the issue is due to the script runner plugin.

You can downgrade to the scriptrunner version 6.15 to resolve the issue

Like # people like this
0 votes
Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2021

What we know at this moment:

 

  • I'm the JIRA admin. (same problem)
  • 2 different browsers tested. (same problem)
  • Both with Cache cleared. (same problem)
  • Creating a new rule  (same problem)
  • Asked to be done by other Jira admin (new laptop, network, browsers...) (same problem)

 

Versions:

  • Automation for JIRA version: 7.2.6
  • Jira Server version: 8.5.3

 

What next?

 

It's a bug from this version?

 

Humberto

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 17, 2021

Answer from Atlassian Support:

 

try the below options:

  • Disable and enable the Automation for Jira to check if this resolves the issue
  • Clear plugin cache
  1. Stop the JIRA instance.
  2. Delete JIRA_HOME/plugins/. bundled-plugins and JIRA_HOME/plugins/. ...
  3. Restart JIRA.
Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 18, 2021

Update:

 

  • Disable and enable the Automation for Jira to check if this resolves the issue
  • Clear plugin cache
  1. Stop the JIRA instance.
  2. Delete JIRA_HOME/plugins/. bundled-plugins and JIRA_HOME/plugins/. ...
  3. Restart JIRA.

 

Did NOT resolve the issue.

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 24, 2021

Update:

The issue is not solved.

 

Steps performed:

Set up JIRA in Safe Mode (disabling all rules)

 - Enable Jira Automation - Box is there

 - Enable all other apps, one by one, and testing always between enabling.

    Box disappears when enabling Time To SLA app.

 

Safe mode again.... same procedure...

 Box disappears after enable Time Status app.

 

Safe mode again... same procedure...

Box disappears after enable Plans (old portfolio app)

 

Safe mode again... same procedure...

Box disappears after Excentia app.

 

The behaviour is not the same, so sent to Atlassian the report and zip file.

 

Waiting for new troubleshooting steps.

 

Humberto

 

 

 

set up JIRA in Safe Mode using the MAnagem apps menu, 

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 24, 2021

Has Support responded to your updates?

Like John Funk likes this
Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2021

Update:

 

Issus is not Solved.

 

Steps performed:

  • backup Jira
  • backup automation rules (export all rules )
  • uninstall A4J
  • ensure the plugin cache is cleared by following the below steps:
    Stop the JIRA instance.
    Delete JIRA_HOME/plugins/.bundled-plugins and JIRA_HOME/plugins/.osgi-plugins ( just these two folders!)
    Restart JIRA.
  • Reinstall A4J latest version 7.2.8 again.

 

Some notes:

- Backup Jira is only for just in case...

- Backup Rules did but not needed to import.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2021

Thanks for keeping this thread updated @Humberto Gomes . This sure seems to be an ugly bug. 🤔

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2021

There is a temp fix (already done here).

Go to Safe Mode. (full safe mode)

Enable AFJ.

  active/deactivate the box  (it's available) as your need.

Back to normal setup. 

  the box will be available again but isn't configured.

 

The box still not visible for new rules and we can't go to "safe mode" every time.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2021

🤮🤮🤮🤮

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2021

For now, with more tests, looks like the issue is in the app: Script Runner from Adaptavist

Starting with version 6.16

 

My findings:

ScriptRunner version 6.14 - No issue in A4J

ScriptRunner version 6.15 - No issue in A4J

ScriptRunner version 6.16 - issue in A4J

ScriptRunner version 6.17 - issue in A4J

ScriptRunner version 6.18 - issue in A4J

ScriptRunner version 6.19 - issue in A4J

ScriptRunner version 6.20 - (latest version available) -  issue in A4J

Like Kai Becker likes this
Kai Becker
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2021

Can confirm that. The instance on which it still works uses ScriptRunner 6.05. None working instances uses ScriptRunner 6.16

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2021

Update:

 

Case raised to ScriptRunner owner:

 

"Thanks for reaching out to Adaptavist Support!
We are sorry you are experiencing this issue. There is a fixed Bug report for this here: SRJIRA-5012. It is currently in 'Awaiting Release' Status, meaning the Developers are finalizing the fix for public release."

Like Jan Herzog likes this
0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2021

Hola Humberto - it's probably not there because you are not a Jira Administrator and the rule is a multi-project or global rule. You can get an Administrator to update it to uncheck the box,

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2021

Hi,

I'm the Jira Administrator.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2021

Are you using the Free Lite version or the Paid Version? 

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2021

Paid one.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2021

I would definitely open a support ticket with Atlassian.

Please post the resolution back here so we can close this one out. 

Like # people like this
0 votes
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2021

Hi @Humberto Gomes ,

yes, I think this is the right place. The checkbox is missing, but I believe it should be there.

scheduled.png

If you try to delete the trigger and add it again, does the checkbox appear?

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2021

Or try adding a new rule

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2021

New Rule:

Same Problem

 

Already done:

Browsers: Chrome, Edge

All with clear Cache.

 

No results.ScreenHunter 943.png

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2021

This seems to be a duplicate and yet under a different member - Jira-Automation-Only-include-issues-that-have-changed-since... 

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2021

Yes, it's duplicated.

Now I can understand why could not see/find the first one.

Humberto

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2021

can you try to add a new rule just as a test to see if the checkbox is there?

Humberto Gomes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2021

Already done. Same issue. the box is not there.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2021

thanks for the update. seems like it is time to reach out to the Atlassian for support 

Like # people like this
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2021

p.s. I have inquired thru my other connections seeking other Server A4J users to see if anyone is experiencing this. Maybe they will chime in here FWIW. 

Like Dave Liao likes this
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2021

Hi @Humberto Gomes ,

I've just tested it using AfJ 7.2.6 and Jira Software 8.8.0 and I was able to use the checkbox. So it seems to me it is not connected to the latest version. As the others said - it will be the best to reach out to the Atlassian, it is really strange.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2021

Hi...  Did you notice that the radio buttons immediately above, for other options, also appear to be missing on that view?

Suggest an answer

Log in or Sign up to answer