Need to Hide the Assign button on the View Screen and make it available in a transition


In a project we have a separate transition "Assign Issues" which is allowed only for project role devleopers and aprat from that this transition the assign button should not be visible anywhere in the project. For this i have added the property "jira.permission.assign = denied" in all the workflow steps, and to have the assignee field in the transition but when i added the property "jira.permission.assign=granted" in the transition properties but still the assignee field is not visible in that transition. Can some one help me on this.



10 answers

0 votes
Steven Behnke Community Champion Jun 13, 2016

Why can't you just give Developers Assign Permission and skip the transition work?

You CANNOT use permission properties on transitions, they are step properties ONLY.

Thanks Steve, is there any other option to make this available during the transition

I dont show that this is an option for the Cloud Version. Am i missing something here? Says Module CanNot be Modified

0 votes
Steven Behnke Community Champion Jun 14, 2016

Please answer my previous query – 

Why can't you just give Developers Assign Permission and skip the transition work?

Your requirement makes little sense to me and I feel like you're attempting to go about it in the wrong way.

As per the requirement we have change the status of the issue to "Work In Progress" when a issue is assigned to a developer.

But when the user clicks on the assign button, issue will be assigned to a Developer but the status will not be changed.

0 votes
Steven Behnke Community Champion Jun 14, 2016

Using workflow properties wkll not help you because then you remove the ability to restrict assignment as you've now found. 

The best way to handle this would be as a listener. When the listener sees the assignment, it can transition the issue. 

Ok Steve, Thanks very much for the information. I am working on adding a custom field to select a user and setting the value selected value to the assignee field using the transtion Post Functions as i am not familiar with listeners. Could you please provide me any information you have on listeners.

0 votes
Steven Behnke Community Champion Jun 14, 2016

Using a custom field will be confusing and won't populate things like avatars in the ui in the normal places. 

I wouldn't accept requirements from your team if you don't know the capabilities of the product. 

I forgot you marked this as cloud, so you can't install any listeners. 

I'm not sure you can achieve this reliability without custom work. 

0 votes
Mahesh S Community Champion Jun 14, 2016

@Steven Behnke Will listeners be available in his cloud instance? I believe he doesnt have a choice for listeners or groovy scripts.

0 votes
Steven Behnke Community Champion Jun 14, 2016

I already had updated my comment. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,723 views 17 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you