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,298,169
Community Members
 
Community Events
165
Community Groups

Allow the transition of an issue through Jira Automation

Hi Jira community!

Conditions under which an issue (story or task) can be transitioned to Delivered status:

  1. The "Documentation" AND the "Fixed version" fields are filled.
  2. The "Documentation" field is empty (here I do not need to validate the "Fix version" field).

I want to create an automation with these rules to allow (or not allow) the transition of an issue. How can I do this?

Note: Same workflow, so I cannot do this in the Jira's workflows conditions.

 

1 answer

1 accepted

0 votes
Answer accepted
John M Funk Community Leader Jan 20, 2021

Hi Dionei,

That is controlled with Conditions and/or Validators in the workflow itself, not Automation for Jira. Automation only performs a function based on an action taking place, and cannot prevent an action from taking place. 

If you can't modify the workflow because it is shared with other projects, then you will need to copy the current workflow, make changes to the new inactive workflow, and then attach it to the project. 

Hi @John M Funk ,

Sorry but as far as I know, I cannot have combinations of Conditions or Validators in Jira workflow.

Remember that I can have a story that doesn't need to be intercepted if it has an empty Documentation field. I mean, in this case, it can go to the Delivered status.

However, if a story has the Documentation field filled, it must also have the Fixed Version field filled. Otherwise it cannot enter the status of Provided.

As far as I know (and correct me if I'm wrong), Jira does not allow this combination of Conditions or Validators an the same time.

John M Funk Community Leader Jan 20, 2021

Absolutely it allows both Validators and Conditions in the same transition in the workflow. I have several.

Ok @John M Funk

So if I understood, can I do this grouped transition condition described below?

(
    (Documentation field = Empty) OR
    (Documentation field IS NOT Empty AND FIX VERSION IS NOT Empty)
)

Could you please send me a print of this implemented in some workflow?

Thank you very much for all your support!

Hey @John M Funk 

With a little bit more persistence and your tip I maked the condition in the workflow and it works good!

Thank you very much for your attention support @John M Funk 

Like John M Funk likes this
John M Funk Community Leader Jan 21, 2021

Very good - glad I could help!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

157 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you