Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Removal of automation Actor

yaro137 September 14, 2021

A rule I created automatically assigns me as the Actor which causes same issues like Epics assigned to other people are getting transferred to me when the rule runs. Is there a way to leave whoever is the current assignee so on whoever Epic my rule runs it doesn't modify the assignee? The rule basically just marks an Epic as In Progress as only one of underlying Sub-Tasks get marked as In Progress. I would think this should be default behavior but it isn't hence the rule. Similarly I plan to add a rule to mark Epics done as only all Sub-Tasks get done which again will cause me being assigned as Assignee which I'd like to avoid.    

2 answers

0 votes
John Funk
Community Champion
September 14, 2021

Hi @yaro137  - What type of project is this? What is the trigger that causes the automation to fire? 

yaro137 September 14, 2021

It's all mentioned in description. The rule basically just marks an Epic as In Progress as only one of underlying Sub-Tasks get marked as In Progress.

John Funk
Community Champion
September 14, 2021

Nowhere in the description does it say what the project type is. If it is JSM, there are built-in automations that might be firing that you are not even aware of. This is separate from Automation for Jira rules. So you probably need to check that automation. 

yaro137 September 16, 2021

Don't know how to establish that. Only field of Type value I can find related to the project says Business. Only other option is Software so this would seem to be Business type project.

John Funk
Community Champion
September 16, 2021

Very good - it is a Business type project  :-)

Can you share a screenshot of the rule that you have so far?

yaro137 September 16, 2021

Here it goes. No mention of changing Assignee.

 

20210916_155021_resized.jpg

John Funk
Community Champion
September 16, 2021

So I am wondering if there is a post function on the transition to In Progress in the workflow..

yaro137 September 16, 2021

The reminder is only to mark an Epic Done if all Sub-tasks are Done.

20210916_170707_resized.jpg

John Funk
Community Champion
September 16, 2021

But you said the assignee is getting updated when the Epic moves to In Progress. I would check there first. You can also check the transition to Done for Sub-tasks to see if there is some type of post function firing. 

Finally, look at the history to see the timing of when the assignee is getting set and who the user is who sets it. 

yaro137 September 20, 2021

Hmm can't see anything other than what's in my screenshots and the only suspect is the Actor filed as I wouldn't expect Author to get involved. I'll make a simple test by changing the Actor and see what happens.

Like John Funk likes this
0 votes
Olga Videc
Community Champion
September 14, 2021

Hello @yaro137 

Have you checked your automation rule, this is not default behavior, the rule runs in your name but it won't make you an assigne, only if you edited your rule to do so. If the rule is not the blame check your workflow post functions.

BR, Olga

yaro137 September 14, 2021

It doesn't look default in my case. I stopped the rule and I see lots of Epics with To Do status yet their subtasks are In Progress or even all Done. I have no action set to change the assignee in my rule so the only explanation can be that it uses the Actor account to make the modification and so it changes the assignment. I see this happen every time the rule succeeds running transition step. So first under for Parent it checks if some Sub-tasks status match In progress or done and issue status does not equal In Progress then it transitions the issue to In Progress. Perhaps what I need can be done in workflow as you mentioned but if so I have not a clue how.

Olga Videc
Community Champion
September 17, 2021

Hello @yaro137 

Like John said it must be some post-function or other automation triggering this.

Also, I see you "complicated" the automation a bit, this one should perform faster.

Epic transition.PNG

yaro137 September 20, 2021

Thanks for the above. I'll try setting this up as a separate rule and disable mine as another test to see if Assignee still gets modified.

yaro137 September 23, 2021

I'm a little stuck. Whatever I try when looking in Audit Log I see "No action performed" and in details I see Action Details: Issue Condition - the following issue did not match the condition. Even when making it simple marking all tasks Done which should transition the Epic to Done it just doesn't happen. I'll add that I publish changes after each modification attempt.  

Suggest an answer

Log in or Sign up to answer