Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,686
Community Members
 
Community Events
184
Community Groups

How to get the mapping of Jira attachments and Issue Attaching File Link(custom field)

Hi,

[Background]

I have added the custom field "Issue Attaching File Link" to categorize and differentiate the already attached documents in Jira.

This custom field description says something like this: "This field allows you to select issue attachments and store references to them in a field"

This field allows to select specific files from the files that are already attached. 

 

[Question]

How can I find the link between what is returned from REST API for these two sections?

Rest API for get issue returns something like this(http://jiratest/rest/agile/1.0/issue/EVAJ4S-1639),

REST API result For custom field:

  • customfield_13549: [
    • "com.atlassian.jira.issue.attachment.Attachment@fffffff9"
    ],

REST API result For attachments:

{

},

 

 

Best Regards,

Awantha

2 answers

0 votes
Melvin Corbes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 03, 2023

On the service rocket JIRA cloud for Salesforce, they were able to map that, but with the API available I could not map the Id from  rest/api/3/issue/{issueKey}/comment to /rest/api/3/attachment/{id}

 

Hope someone could answer this.

Hi @Melvin Corbes

Good day, and this is Danny from ServiceRocket.

Appreciate it for testing our Connector. A kind note that although "Attachments" can be added into our Mapping Configurations, it is unsupported as referenced in our Field Type Compatibility Matrix here. Attachments are enabled via a different Connections Settings to Synchronize Attachments.

The Mapping Configurations are primarily for the synchronization of data between Jira and Salesforce. As for @oshadislt's use-case, it appears to be pointing to the ability to map Jira Attachment to the Jira Custom field, which may not be related to our Connector but instead the configuration at the Jira end.

It would be great if @oshadislt is able to expand your use-case, to further understand how the Attachment custom field is created, in order to link it to the Jira Attachment. From some research, it looks like a custom field to reference Attachments is unavailable at the moment.

If you have any further questions regarding your our product, feel free to reach out to us via our Support Portal or Drift chat

Thanks & Best Regards,
Danny
ServiceRocket Apps Support

Hi @oshadislt,

 

how did you solve this? I'm currently struggeling at the exact same issue.

 

Kind regards,

Christian

Suggest an answer

Log in or Sign up to answer