You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.