Hello,
I have 4 standard bug types( Example: A,B,C,D) in a project.
Bug type A has its own work flow
Bug type B,C,D has their own work flow.
I would like to keep bug type A as master bug if a bug type B, or C or D is created and then bug type A will have its own Workflow and then the rest of the bug types will have their own workflow.
Is there a way to create bug type B,C and D as linked bugs to bug A within the same project?
I want this to happen during a transition on bug type A.
Please suggest a way without using a plugin if possible.
if if you want different bug issues to follow different workflow you should create two issue types in Jira and assign them to different workflows.
See
You also have the option of creating the other bugs as sub tasks of A but they will be in a workflow that applies to all sub tasks which I suspect isn’t what you want
without a plugin you won’t be able to automatically link these issues and you would also need a way of reliably identifying bug A.
you will need to create the links manually as you create the other bugs
You can define the description of your link by defining your own. See
https://confluence.atlassian.com/adminjiraserver073/configuring-issue-linking-861253998.html
Thanks @Tom Lister
Can we use any free scriptrunner plugin and achieve this?
There will be a max of only 10 users who whould be using this transition and its not worth it to go for a paid plugin. Any specific way to solve it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You could use the Power Scripts add-on:
You could create a post function on the required transition with a code like this:
string issue_priority;//Possible values: "Major", "Critical" etc.
string issue_description;
string[] issue_components;
string issue_security_level;
string[] custom_fields_mapping;
issue_priority = "Critical";
issue_description = "Description of the issue";
issue_components = components; //an array containing all the components of the current project
issue_security_level = "Administrator";
custom_fields_mapping = "STDUP|fmanaila|STDGP|jira-users";
string k = createIssue(
"PROJECT",
"",
"Sub-task",
"Summary of the sub task" ,
issue_priority,
issue_description,
issue_components,
currentDate() + "30d",
"1h 30m",
issue_security_level,
custom_fields_mapping
);
linkIssue(key, k, "Duplicate");
You can read more about post functions here:
https://confluence.cprime.io/display/JJUPIN/Customizing+workflows
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.
Learn moreOnline 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.