[JIRA Connector] Create Issue with custom fields?

[JIRA Connector] Create Issue with custom fields?

  
Forge Component
(11)
Published on 27 Apr by OutSystems Labs
11 votes
Published on 27 Apr by OutSystems Labs
It's possible create Issue with values for custom fields?
Hello ALberto,

yes it is, but you'll need to change the connector to fit your custom fileds.

Cheers,
Pedro Cardoso
Hi Pedro!

Could you help me telling which is the connector?
Hello Alberto,

I meant that you need to change the Jira connector itself. I would advise you to clone the existing one and start from there.

After that, it depends on what you're planning to do: creating or listing issues. You'll have to read the documentation of the Jira REST API to understand how to use your custom fields and where.
Hi Pedro,

As you mentioned in your post, where we can get the documentation of the Jira REST API.

Thanks.

Hello Salil.

You can check the documentation in JIRA https://docs.atlassian.com/jira/REST/latest/

Cheers
Thanks, Let me read !

Dears,

This is what you need to do to be able to create Issues with custom fields:


1) First find out what JIRA keys your installation uses for the custom fields you want to use. For instance the custom field Epic Name is mandatory for Epics but has different keys depending on the environment. Use Postman or SoapUI to find out what these fields are with the url below for JIRA Cloud installations. Don't forget to configure basic authentication of course. 

In my case I am interested in a couple of custom fields:

  •  "name": "Epic Name", "key": “customfield_10002",
  • "name": "Epic Link","key": “customfield_10005"

2) Add each custom field as a Text attribute to the IssueFields structure in JIRAConnector

Good luck!

Best regards,

Adrian