Hello,
I'm struggling to get the workflow condition, value field, for the field parent working.
My purpose: I want to allow a workflow transition only if my issue has a specific parent.
I tried to set different Value Field conditions on my transition, but none worked.
None of these conditions let my issue with parent 12345 transition to my status.
I guess I'm doing something wrong, but I can't see what.
Could you help me ?
Thanks in advance, have a nice day
Clément
@Clément FREDERIC might still be valuable to know that if you add multiple conditions with Option ID for each (include the parent and child value ID's individually) then select 'any of the conditions' seems to work for me. Might not be exactly what you originally wanted but seems there is no way to include parent and child values in one Condition.
you just need to put OptionID of second level option to condition's value field.
if you click your parent option new page with child options is displayed. And you need to get the child option's ID and use it for your condition. For example you can have following cascading values
So you can see that AA option for parent A has a different ID than for parent B. In case you want to build a condition for A->AA you need to use id=10001 for condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again,
I tried also with OptionID, does not work ether.
if you click your parent option new page with child options is displayed. And you need to get the child option's ID and use it for your condition. For example you can have following cascading values
- A (id = 10000)
- AA (id = 10001)
- AB (id = 10002)
- B (id = 10003)
- AA (id = 10004)
- AB (id = 10005)
So you can see that AA option for parent A has a different ID than for parent B. In case you want to build a condition for A->AA you need to use id=10001 for condition.
I'm not sure to understand this statement.
Are A and B epics (or any kind of parent issues) ?
And AA, AB some stories (or bugs, or some other type of child issue) ?
If that is so, how can an issue have 2 differents ticket as parent ?
I mean AA seems to have as parent issue A and B ?
I'm a bit confused here.
Thanks,
Clément
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Clément FREDERIC ,
You can use the Linked Issues Condition from JMWE app with the jira expression:
issue.parent.key == "XX-1234"
Hope this helps!
Thanks,
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Reshma Begum {Appfire} and thanks for your answer!
Indeed this is what I'm trying to achieve.
However should not this be working without app ? Unless I misunderstand the condition, value field for parent.
Anyway I will take a look at the plugin you mentioned.
Thanks,
Clément
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer.
However I don't understand how to use a post-function to manage the transition of that issue.
A post function apply after the transition, so is your idea after the transition of the issue to put it back on the initial status ?
I'll try to be clearer on my request ;-)
I want my issue transition only to be possible if my issue has a specific parent, that's why I was trying with a condition.
For instance :
So on this example, the transition to status MyStatus should only be allowed for Story_A but not for story_B.
I'm acting directly on the stories, not on the parent or children of the stories.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.