Forums

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

Automate rule to create Bug issue type any time a sprint is created

Garden16
January 8, 2022

I would like to create a Automated  rule to trigger a Bug issue type any time a sprint is created. The bug issue type Should be part of the sprint and should go inside the sprint\be part of the sprint and not to pulled from the backlog.

I need a bug issue type to be created with  certain fields . I would also want the Bug issue type to use the  customized work flow I currently have for bug issue type (In my customized work flow condition  I have added post functions, Subtask blocking condition, validators etc).

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Jordan Packer
October 12, 2018

You shouldn't need the import statement for Issue.... it's already made available in the ScriptRunner post-function code. Only issue I can see is that you have a dollar sign $ before the issue variable that shouldn't be necessary, on this line:

def valueDzial = $issue.getCustomFieldValue(dzial).toString();
TAGS
AUG Leaders

Atlassian Community Events