Forums

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

Transition permitted based on label

Iro Karavasili
Contributor
March 26, 2019

Hello all,

I would like to ask if it is possible to allow users make a transition of an issue if it has a specific label.
eg transition: Open > To Do, only by project owner & product owner

But if label = label A, Open > To Do, by developers.

Kind regards,
Iro

1 answer

1 accepted

0 votes
Answer accepted
Antoine Berry
Community Champion
March 26, 2019

Hi,

That would be possible using scriptrunner, or any plugin that lets you test against label field.

Iro Karavasili
Contributor
March 26, 2019

Yes, I think so, too. I asked in case someone has already an idea about it :)

Antoine Berry
Community Champion
March 26, 2019

Well I run scriptrunner and JSU, I could help if you have one of these.

Iro Karavasili
Contributor
March 26, 2019

I have both! It would be great if you could help :)

Antoine Berry
Community Champion
March 26, 2019

I guess JSU is easier then since you don't need to code. Replicate this (use the "Add grouped condition" feature) and replace the groups "Managers" and "Users" by "Project owner" & "Product owner".

image.png

Iro Karavasili
Contributor
March 26, 2019

Hi @Antoine Berry I confused a little bit with the layers.... 
Could you please write me down the steps? It would be really helpful :)

Antoine Berry
Community Champion
March 26, 2019

Sure, go in the workflows (type GG > Workflows), and edit the worklow you want to change. If you do not know which one it is, check it in the workflow scheme used by the project.

Then, in diagram mode, click on the Open > To Do transition and click on Conditions.

Reproduce the above pattern by using Add condition. To group a condition with another one, use Add grouped condition.

image.png

Iro Karavasili
Contributor
March 27, 2019

Thank you very much @Antoine Berry

It works perfect! :)

Like Antoine Berry likes this

Suggest an answer

Log in or Sign up to answer