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
I am testing a payload via Postman to add values into cascade field in issue ticket on JIRA environment (non-Cloud), normally we would pass info as such.
"customfield": {"value": "Parent", "child": {"value":"Child"}}
However in our existing application, technical team made it impossible to pass information as above and ask us if possible to break down into two lines. Found something similar at "https://community.developer.atlassian.com/t/how-to-set-cascade-custom-field-value-to-ap-jira-opencreateissuedialog-issue/35987" (JIRA Cloud), but did not worked for us:
"customfield": { "value": "Parent" },
"customfield:1": { "value": "Child" }
Is there any other alternative?
Thanks.
Welcome to the community!
You will need to set the cascade custom field like this:
"customfield_xxxxx": {
"value": "xxxxx",
"child": {
"value": "xxxxx"
}
You will need to replace the Xs
Thanks,
Tim
Hi Tim,
The way you propose works when input through Postman, however our application does not allow us to pass info as you described. We would like an alternative as two separated entries. It may works on JIRA Cloud, but we are deployed into client infra...
Example (did not worked):
"customfield": { "value": "Parent" },
"customfield:1": { "value": "Child" }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I setup a test field for myself to see how it breaks down and also to use real values instead of Xs. It looks like you need to use the Ids for the field and the values.
Does your entry look like the one below?
{"customfield_23910": 25500}
{"customfield_23910:1": 25501}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tim,
My entry is "customfield_11547": {"value": "Infraestrutura", "child": {"value":"Windows"}}", since it won´t work using existing application, we were looking for something like that but so far no success:
"customfield_11547": {"value": "Infraestrutura"},
"customfield_11547:1": {"value":"Windows"}
Error message:
"customfield_11547:1": "Field 'customfield_11547:1' cannot be set. It is not on the appropriate screen, or unknown."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try using the ID number for the value. Infraestrutura and Windows have 5 digit IDs that you can use. Should look something like this but replace the Xs with the ID number:
{"customfield_11547": xxxxx}
{"customfield_11547:1": xxxxx}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tim,
We used exacltly like your example, using values or IDs but no success. Checking with tech team if they are able to help us on the other application.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Rene,
Did you get this ?
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.