Forums

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

Transition all other issues of current user when user transfer current issue to specific status

Margarita Tihomirova June 4, 2018

Hello

Did anyone have same situation? How can I create such rule?

Example:

User transfer issue from status New to status In work.

I need to transfer all other issue (except current), where assignee is current user and which have status In work, to status Pause

Thank you in advance.

 

1 answer

0 votes
andreas
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.
June 4, 2018

Hi Dzianis,

You should be able to achieve this with our branch action: https://docs.codebarrel.io/automation/overview/related-issues.html

Your rule would look something like this:

  • Trigger: Issue transitioned
  • JQL condition: status = "In work"
  • Branch action with JQL: assignee = {{initiator.name}} and status = "In Work"
    • Action: Transition to 'Pause'

So this uses a special smart-value {{initiator.name}} to subsitute the username of the user who performed the transition into the JQL to find all issues currently assigned to that user and 'In work'.

Hope that helps.

Cheers,
Andreas

Margarita Tihomirova June 5, 2018

Thank you for piece of advice, Andreas.

But there is a small problem. This rule transfer only on issue from In work to Pause(

Example:

User A is assignee in 3 issue in status In work (Test-1, Test-2 and Test-3).

He transfers issue Test-4 from New to In work.

Current result: only Test-3 will be transfer from In work to Pause

Need result: Test-1, Test-2, Test-3 will be transfer from In Work to Pause.

 

How can I create a cycle for branch action in this situation? 

Thank you in advance.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events