Hi guys... I am need help in getting a resulted oriented field (Custom Field)... the result should be based on a combination of two other fields in Jira... for example I am creating a New Issue in Jira... and I have A, B and C fields in the page... C is custom field and it should value based on the selections made in A and B. Any inputs are greatly appreciated.
Thanks,
Niranjan Teegala
So it's like a 3 level Cascading Select custom field (basically like this add-on https://marketplace.atlassian.com/plugins/com.sourcesense.jira.plugin.cascadingselect/server/overview)?
What code do you have so far? Are you experiencing any issue with your code?
Do you plan on using this with JIRA Cloud?
Can you just not use a Cascading Select then just create a post-function to update your 3rd Custom field?
I have this exact need. what is the concept of the post-function? It sounds like this doesn't need coding.
Thanks
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Requires minimal coding. Put a "Set Field Value to constant or Groovy expression" post function in the "Create" event. Then in the "Groovy" script part, get the "parent" and "child" value of the cascading select to determine what value you want for the 3rd field.
Sample for PF: https://answers.atlassian.com/questions/285260
Sample for Cascading Select: https://answers.atlassian.com/questions/13407075
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid there's not a lot you can do on Cloud with this.
If you were on Server, I'd be asking if you want this on the front end (changes in field A or B in the create screen determine the options a user has for field C, but still let them enter something) or checking that they have not entered bad data, or if there's a fixed set of rules for the values of A and B that will always set C to something (you'd do that in a post-function mostly)
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.