Hi,
I want to realize a dynamic checklist like this:
I tried to realize that by placing multiple automation jobs on the trigger "Issue transitioned" and filtering with a JQL condition the specific item.
Then i use the "Edit Issue fields" in each item action like e.g.:
{{issue.fields.checklists}} h1.Item A {task}task A item A specific{task} {task}task B item A specific{task}
That works file for one item but if i select two or more itmes, the checklist is always overwritten with the last one (from the selected list). But I need all.
Thanks for helping.
Jakov
Community moderators have prevented the ability to post new answers.
With the newest release today this is possilbe.
But you should use:
{{issue.latest.fields.checklists}} instead {{issue.fields.checklists}}
Thanks for posting this back here Jakov (and beating me to it )!
Just one little note about 'latest': Please only use this if necessary - it requires a complete re-fetch of the issue. If it's a large issue this can depending on what your automation rule does put considerable load on your JIRA instance. It's not such a big deal in server but it's a slightly bigger deal in cloud (API calls vs REST HTTP calls).
In almost all other use cases just using 'issue' will be fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jakov,
Sorry this isn't working as expected. Is the field called exactly 'checklists'? What do you see on the view issue page - is it possibly 'Checklists'?
The field name has to match exactly including case and space in smart-values, otherwise {{issue.fields.checklists}} will simply evaluate to the empty string.
I think that's what's going on here. If that's not it, then please raise a support request via https://codebarrel.io/support including screenshots of your rule configuration and some sample issues so I can take a closer look.
Cheers,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is something I need to know how to accomplish to. Could you post a how-to here or on your blog how this is done @Andreas Knecht?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Christian Axén, I have posted my request at codbarrel support. I will let you know it I receive an answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @Andreas Knecht, thanks for responding so quickly, but unfortunalty thats not the problem. The code will overwrite the correct custom filed, but multiple times instead of appending it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jakovand I are just trying to figure out what's going on exactly in the support case. Once we've figured it all out I'll post back here @Christian Axén with a more generic solution.
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.