Forums

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

Rule Trigger on unassigned ticket only

Andrew Keith April 30, 2019

Hi All,

I use Jira Project Automation to create sub-tasks for our new hire and leaver tickets. I have the rule set to run when the ticket is assigned. However this rule is also running when the ticket is assigned to someone else and so we have duplicate sub-tasks and linked tickets. 

I need the rule to only run if the ticket is being assigned from the Unassigned queue, not when being re-assigned. Any ideas how to do this? 

Capture.PNG

Thanks,

Andy

1 answer

0 votes
Nick Menere
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.
April 30, 2019

Hi Andrew,

 

In order to do this you need to check that the previous value was Unassigned "Empty".

To do this use a Compare condition with the following:

First value: {{fieldChange.from}}
Condition: Equals
Second value: <Leave blank>

 

Hope that helps.

Cheers,
Nick [Automation for Jira]
Co-founder

Andrew Keith May 1, 2019

Got it working. Thank you very much! 

Andrew Keith June 25, 2019

Hi All,

It seems the issue has come back again - i'm not sure if something has changed in the tool, however the compare condition is the same. 

When the new hire ticket is re-assigned from one tech to another duplicate sub-tasks are created. 

Any help will be gratefully received 

Thanks

AndyCapture.PNG

Nick Menere
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 25, 2019

Hi Andy,

 

Nothing changed from our end - it may be a GDPR thing if this is Cloud.

The following will print out the change log into the audit log and should give us a clue as to what is happening:

From: {{fieldChange.from}} FromStr: {{fieldChange.fromStr}} To: {{fieldChange.to}} ToStr: {{fieldChange.toStr}}

 

Cheers,

Nick

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events