Pretty much what the title says. I have automation set up so that when a field value changes, a sub task for the issue in which the field was changed is created, and an email sent.
Both things happen as advertised, however the Parent issue for which the sub-task was created gets its Resolution put into Done. The Status is still In Progress, just the Resolution changes.
I don't see how to prevent this. Anyone else seen this? Have any ideas how to avoid it?
Darryl you were right, had nothing to do with the automation. Nic had an answer in a different post... it was screen related. My mistake..
Thanks @William Sheboy ,
The only transition that modifies the resolution is when it goes to the Done status, as a post function.
But using the automation for jira plugin, if the issue stays in To Do status, or In Progress status.. and does not transition thru the workflow, the resolution is still changed when that field value is modified (thereby kicking off the automation).
The log shows that I marked it as Done, as seen below:
Luke C made changes - 09/Dec/20 4:39 PM
Field Original Value New Value
Product categorization Parent values: Security(13076)Level 1 values: Incidents(13162)
Resolution Done [ 8 ]
Thanks @Darryl Lee
I looked at the ScriptRunner Listener (I only have one set up) it just looks for SSNs, this test issue I made doesn't have anything resembling a 9 digit number. Here's the log from the plugin:
So ticket 257 is the parent.. 258 is the sub task that was created, and shows up on the parent ticket. But 257's resolution gets marked as Done when it shouldn't. Again it doesn't even move through the workflow at this point. All I'm doing to activate this automation is change a field value.
Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events