Hello all,
I've seen multiple questions like this but no answer for what I'm actually looking for.
I have an issue type that I'm creating using the clone function from scriptrunner during a workflow. Here's the overall process in a nutshell -
SDLC Workflow > @ transition xyz testing subtask is auto created (testing workflow) > tester finds defect and clicks on CREATE DEFECT > issue type "Defect" is created (with it's own Defect workflow) by pulling some info in from the testing subtask > Defect is linked to testing subtask
These defects should only be created via the testing subtask, but they are also in the Create drop down. How can I hide the issue type from the create drop down?
Issue types can be limited using a ScriptRunner Behaviour - https://scriptrunner.adaptavist.com/latest/jira/recipes/behaviours/restricting-issue-types.html
We use this approach, and it works nicely.
Thanks Payne, will give it a try and add a response after I do!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@tpay I just tried this script and I'm getting an error here:
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.security.roles.ProjectRoleManager
import
static com.atlassian.jira.issue.IssueFieldConstants.ISSUE_TYPE
Error: Unexpected token: import @ line 4, column 1. Can you provide guidance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't. This has been asked many times, but as you've probably seen there are only some workarounds that prevent actually creating the issue. It's been asked about since before I started working in JIRA in 2007 so I don't think it will change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response Joseph. Not the answer I was hoping for but at least now I can put the issue to rest.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.