I would like to hide the Assign and the Assign to me button without losing their functionality. Let me explain...
We have a custom field (Owner). The Owner of a ticket is the person who is in charge of resolving an issue. The assignee of an issue (if owner != assignee) is the person who should answer a question that occured during reading / analysing the issue.
We configured a workflow for that (Request Information). The workflow works like this: The user presses the Request Information button, decides on the assignee and asks the assignee a question.
The assignee should answer this question via the workflow button (Provide Information) - not with the assign button. The Workflow then copies the Owner value to the assignee value.
Anyway, if the assignee is not the correct contact person, it should be possible to pass on an request to the correct contact person. Therefore, we use: Pass On Request (also custom workflow) where the user can choose the assignee.
I read about the workflow properties: https://answers.atlassian.com/questions/44943/can-i-remove-the-assign-and-assign-to-me-options-from-tickets-in-specific-statuses but these don't work well for my use case. They only work for the 'Provide Information' usecase, but not for the pass on request. The 'Provide Information' usecase copies the owner to the assignee field, so there is no direct assignment.
When using the properties for the 'Pass On Request' the user should be able to assign the issue to another user, but only via the 'Pass On Request' button, not the Assign / Assign to Me button. When i use the property jira.permission.assign.$group the assign button is hidden, but i can also not assign via the custom workflow button :(
Hence, I would like to know if there is any possibility to only hide those button, but not remove the functionality of the assign process.
Unfortunately, a delay doesn't help here, since the script (in the announcement banner) is not executed again after a workflow transition. So when opening the issue it's in a status where the buttons should be displayed, and then a workflow transition is executed and the buttons should be hidden after that transition.
FYI, currently we're testing with a modified version of this script:
Hey, I'd go with a property associated with the workflow step. Haven't tried it though:
Jobin has a pretty good collection of workflow properties:
You will need to write a script which will check for the issue status and accordingly hide the two buttons . You will need to paste this script in the announcement banner .
Can you give it a try by disabling the 'Assign' and 'Assign to me' button. You can disable it from here -
Hope this is inline with what you are looking for!
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
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!
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