Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,907
Community Members
 
Community Events
168
Community Groups

Transition of issue (Postfunction)

Edited

I want my issue to transit to particular status (cancel) using transition id depending upon some

Custom field value .

 

Logs showing 

Moving  (issue key) to 121 is not valid 

 

2 answers

1 accepted

0 votes
Answer accepted

I am not sure it is clear what you are asking for here.

I understand it is based on the value of a custom field (if field = X, then do Y, else do Z), but not what

Do you mean you want to block or allow a transition based on a value in a custom field?  Or you want to change the end status of a transition?  Or you are trying to perform a second transition within the current one in some cases?

If in custom field value I have selected x value based on that  issue should move to cancel state 

Ok, but when?  Are you trying to perform a second transition after an initial one, or do you mean you want to transition when someone edits a (certain value on) an issue?

When someone edits a certain value on issue 

Ok, so a post-function is of no use to you.

You need a listener or automation that acts when a custom field is edited.

Like IT likes this

Thanks 

 

I will do that

0 votes
Elvir Rising Star Sep 12, 2022

Hi,

Can you check if there is a specific condition or validator on that transition?

Are you using a plugin at the post function? Best regards,

Suggest an answer

Log in or Sign up to answer