Block Workflow Transition for Reporter

Vignesh Jayagopal
Contributor
April 8, 2022

Hi,

I have a use case to block the transition of workflow to Approved status by the reporter.

This is to restrict the person to approve their own tickets.

I checked in transition condition, but it has option to "Allow only reporter to transition the status" not having option to block it.

Is there any way this can be achieved in JIRA?

1 answer

1 accepted

0 votes
Answer accepted
Jorden Van Bogaert
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 9, 2022

Hi @Vignesh Jayagopal 

There's no default condition/validator to achieve this, but you can do it with the help of an add-on like JMWE/JSU/ScriptRunner.

For example, with JMWE, "Build-your-own (scripted) condition" you could write something like this:

user.accountId != issue.reporter.accountId

 This will return "false" if the current user is the same as the report and therefor will hide the transition. If the reporter is different, the expression will return "true" and the transition will be visible.

Kind regards
Jorden

Paulo Milaneis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 19, 2024

Works for me Tks  @Jorden Van Bogaert

Is it possible to configure a validation as well?

Suggest an answer

Log in or Sign up to answer