Forums

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

How to enable changing the default assignee when the Component is changed?

Radhika Tk March 22, 2018

Hi,

I have an issue screen, where i have made the Component field mandatory. 

While creating the issue, the reporter , selects an appropriate Component value.

Now, the default assignee, realizes that this is not the correct Component and selects another value from the drop-down.

But the assignee is still the same. How to ensure that the issue is assigned automatically to the default assignee of the changed Component.

Thanks,

Radhika

 

2 answers

1 accepted

1 vote
Answer accepted
Thomas Schlegel
Community Champion
March 22, 2018

Hi @Radhika Tk,

an automatical assignment to the component lead only happens when the issue is created, not if the component is changed afterwards.

Radhika Tk March 26, 2018

thanks, i agree

1 vote
Vasiliy Zverev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 22, 2018

There are two options:

Simple one, when you can define statuses where component change is allowed. In this case delete component from edit screen and create on each status a transition which starts and ends on this status. Add screen with component field and add biuld-in postfunction for assing.

Advantages:

  • no code is requared
  • spesial permission could be granted at each transition

Disadvatages: new transition is requares at each allowed status

 

Hard-code one: create a event listeres on issue update event and assing issue into it

Advantages:

  • could be pplied at any status of any workflow
  • the only one place for all usages

Disadvantages

  • need coding
  • dificalties with permission restrictions
Radhika Tk March 26, 2018

thanks for your detailed explanation! I am sort of new to this and will take some time to get this in!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events