Forums

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

How to restrict access to cancel an issue if the issue is not assigned to a agent/reporter

Angel Casas March 27, 2019

How can I add a condition where an agent doesn't have access to close a issue until it has been assigned to a agent?

2 answers

1 accepted

1 vote
Answer accepted
Kumar
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 27, 2019

@Angel Casas   Edit the Workflow that is assigned to Project > Edit it > Select the Transition

that is linked to Closed Status > Right Side it will pop up the small screen > Select the

Condition  > It will open a new Window with all conditions and choose the "Only Assignee

Condition "  Add it and Publish the WorkFlow 

 

Now When any Issue is created only assignee of that issue can closed that issue. If issue dont

have any assignee it will hide that Closed Button on Issue View Sceen.

 

This is one of the option we can do

 

I hope it helps

 

Thanks,

Kumar

Angel Casas March 29, 2019

Thanks

0 votes
Alex Christensen
Community Champion
March 27, 2019

I'm not sure if you're on Cloud or Server/Data Center, so these suggestions may not apply to you. I primarily work in Data Center, so I only really have the knowledge of what's available in DC in terms of Marketplace add-ons/apps.

Condition (prevents the workflow button from appearing at all)

  • You can use Jira Suite Utilities' condition called "Value Field (JSU)" and configure the condition so that Assignee != NULL.
  • You can create a script condition using ScriptRunner which uses a Groovy script/condition to check whether or not the Assignee is blank or not.

Validator (validations parameters after the transition button is clicked)

  • In combination with a screen that pops up on the transition prompting you to enter Assignee, you can use a validator from Jira Suite Utilities called "Fields Required" and configure the validator to make sure someone fills out the Assignee field before closing the ticket.
Alex Christensen
Community Champion
March 27, 2019

Of these options, I would recommend the validator w/ screen to enter assignee. That's more usable to me than wondering why a workflow button isn't available to me.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events