Hello Community,
We are using ProForma to create forms. I am attempting to use Jira Automation to populate the description field of a Jira issue with a number of ProForma form field values. I can get the text values for everything other than multiple choice.
In referencing the documentation here, https://docs.thinktilt.com/proforma/automation-for-jira-server, it says the text is stored as
issue.properties."proforma.forms.i1".questions.choices
However, try as I might, I cannot figure out the proper structure to access the text values that were selected.
For example, I've tried this where 2 is the confirmed question ID: {{issue.properties."proforma.forms.i1".questions.choices.2.choices.get(0)}}
and
{{issue.properties."proforma.forms.i1".state.answers.2.questions.choices.get(0)}}
and many others.
Any tips?
Yes, just give an Ack transtion and add a counter in that transtions post function (a simple groovy can do this)
Now based on that u can have the conditions in your sub sequent transtions
Transition - the action of moving from one status to another
Post-function - some code you can run at the end of the transition
Counter - not a Jira specific term, Avdhesh simply means "create a numeric field and use a post function to add one to it's value every time you run the transition"
Oh, and "groovy" is mentioned - this is from a an addon which provides a framework for scripting some functions inside Jira
Have a look at https://confluence.atlassian.com/display/JIRA/Configuring+Workflow to begin with
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am new to this, so terms like transition, counter, post function are a bit unclear to me. Could you please point me to some docs or howto such? Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great, thanks! I thought it would be as you wrote, just wasn't sure if it would force certain order of ACKs. But overall, if it's scriptable, then I guess I'd figure out something.
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.