Forums

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

Jira automation action upon new status rather than old + new status

Vigfus Andersson
Contributor
January 10, 2024

Hi,
We like to automate changes and clearing of assignee. Since issues can criss cross a lot we allow ALL to any status in our workflow. Previously I could assign an issue to the person who set the NEW status (ie I drag the issue from 'Design review' to 'Ready for test' we would clear the assignee and when I drag the issue from 'Ready for test' to 'Test' the issue would be assigned to me. That would mean that if I dragged an issue to any status the new status would trigger a change in the assignee field.

Under Project settings -> Automation -> Project rules it seems like I now have to declare both old + new status to change assignee. Rather than

if new status == 'Ready for test', then unassign

it seems like I have to post

if old status == backlog and new status == 'Ready for test' OR
old status == 'UX to do' and new status == 'Ready for test' OR
old status == 'UX active' and new status == 'Ready for test' OR
...through every status we use..., then unassign.

Please tell me there's a shortcut I'm missing :)

Best Regards,
Vigfus

1 answer

1 accepted

1 vote
Answer accepted
Jack Brickey
Community Champion
January 10, 2024

Hi @Vigfus Andersson , I think I am following you here and indeed your understanding is correct. The reason this is required is that your workflow allows any to any status. So you don't know where you're coming from. If your workflow was bounded by specific transitions, then it becomes much easier. In fact, I would typically use post functions for your used case in that scenario. So to achieve this in your current workflow, using automation and a custom field called previous-status or similar you could achieve your goal.

Vigfus Andersson
Contributor
January 10, 2024

Thanks for the quick reply Jack!

I checked and I think I can do it with

When: Value changes for
- Status

If: Status is one of
- 'UX active', Tech dev', 'Tech test'

Then: Assign the issue to
- User who triggered the event

Best Regards,
Vigfus

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events