(Jira Server) After issue creation, post-function for auto-assignment based on component conditions

Sedanur Ozturk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 28, 2024

Hello,

I use JIRA Server v7.12.3.

For a specific issue type (bug) workflow,

I'd like to assign an issue to component lead on initial issue creation. But there are 2 conditions:

1. For some components it is ok to assign component lead.

2. However, for some components I'd like to assign one single user. (This user is not a component lead - here is the problem)

How can I do that by using post function on workflow transition configuration (ex: via Custom Script Post-Function) If script runner is the only way, could you please assist to write it in a simple way? 

 

P.S: I do not want to do this auto-assignment operation by only using Component Lead function. Because it executes for all issue types. I'd like to do for a specific issue type workflow. 

 

Thanks in advance!

 

0 answers

Suggest an answer

Log in or Sign up to answer