Forums

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

Automation on issue view

Pragash August 12, 2024

 

 

I'm trying to set up an automation in Jira that automatically assigns a task to the person who opens (views) it and simultaneously transitions the task to "In Progress." However, I've encountered an issue where the Jira automation isn't triggering when someone opens (views) the task.

Is there a way to achieve this functionality, or could you suggest an alternative approach?

I tried the same approch in script runner too still I have the same problem that when issue viewed it not able to trigger the issue

2 answers

2 votes
Mikael Sandberg
Community Champion
August 12, 2024

Viewing an issue is not an event in Jira, and that is why you cannot trigger on it. Automation can only trigger on events like transition, field changes etc.

Pragash August 12, 2024

Thanks Mikael for the reply I confimred the same with support team too.

Trudy Claspill
Community Champion
August 12, 2024

Hello @Pragash 

I'm chiming in to agree with @Mikael Sandberg 

What do you consider "viewing" an issue? If a user clicks on an issue card in a board a view of the issue will be shown to them. If a user clicks on a child issue under an Epic or a sub-task under a story, then that user will have "viewed" the issue. If a user clicks on a linked issue that also opens a view of an issue. Any time a user clicks on a link for an issue anywhere in Jira they are going to be viewing the issue.

Anybody could view an issue. Do you really want to automatically assign the issues to anybody who views it? Do you really want to assume work is "in progress" on that issue just because a person viewed it?

I suggest that we back up a step and ask "what problem are you trying to solve"? You've told us about something you want to implement, but why do you want to implement that? Is this a business process or a user training issue that needs to be solved in a different way?

Like Mikael Sandberg likes this
0 votes
Aron Gombas _Midori_
Community Champion
August 13, 2024

@Pragash You can use the manual trigger in the rule, and it will add an explicit button to the Issue View which the user should click to start the automation rule.

I think requiring an explicit action (an intuitively named button like "I will pick this up") is better than relying on a non-explicit action (even if that was possible).

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events