Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I want to modify an issue custom field from a selected insight object when creating an issue

Hugo DONA October 7, 2022

Hello everyone,

I've been stuck with this question for a while.

To explain, when creating a ticket, I select an insight object corresponding to a "store" and then I would like to use the attributes of this insight object to modify custom fields of the issue.

I would like to do this via a post function when creating a ticket.

Could you help me ?

Kind regards

Hugo DONA

2 answers

1 accepted

0 votes
Answer accepted
Vicente Domínguez _Decadis AG_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 10, 2022

Hi @Hugo DONA,

At the present time, Jira Workflow Toolbox for Cloud does not support Insight custom fields.

However, we are planning on releasing a new feature named Execute remote action that will be able to fulfill your requirement by the end of this year.

In the name of Decadis xApps,

Vicente

0 votes
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2022

Hi @Hugo DONA Is there a reason why you feel this needs to be managed via post function rather than using Jira Automation?

Hugo DONA October 7, 2022

the only reason is that the automations available on this project work with JWT and that we don't know it well enough yet.

Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2022

Jira automation is quite powerful and could handle this.  You would want to do something like this:

  • TRIGGER: Issue Created
  • CONDITION
    If applicable you can set a condition where this only occurs for specific issue types, request types, etc.
  • ACTION: Edit Issue
    This is where we'll set the specific fields.  You'll use the drop-down to select all of the relevant fields and for each you'll do something like this:
    • {{issue.customfield_xxxxx.attribute}}
      • xxxxx = the custom field ID for your Insight field
      • attribute = the name of the attribute that you're trying to extract
Hugo DONA October 7, 2022

I have access to a tab "automation" I put in place the rules that you have quoted however in returned value I have the string of the smart-value. 

Hugo DONA October 7, 2022

I don't have access to the "Project automation" tab as I found in other Jira projects but only "Automation".

Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2022

Hi Hugo - You appear to be on Jira Cloud which simply uses "Automation" whereas "Project Automation" was specific to Jira Server.

Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2022

Can you please share a screen shot of your rule?

Hugo DONA October 7, 2022

I just discovered that we have to use the automation rules from the "Jira Workflow Toolbox" plugin, so it is not valid since your proposal. Thanks for your help anyway.

we can't use the smart value but the JWT expression parser :(

Suggest an answer

Log in or Sign up to answer